Trivial integer truncation warning fixes.

This commit is contained in:
Sam Lantinga
2015-07-30 10:01:04 -07:00
parent 628d8edb95
commit e93f90ae90
3 changed files with 5 additions and 5 deletions

View File

@@ -598,7 +598,7 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
case WM_CHAR:
{
char text[5];
if ( WIN_ConvertUTF32toUTF8( wParam, text ) ) {
if ( WIN_ConvertUTF32toUTF8( (UINT32)wParam, text ) ) {
SDL_SendKeyboardText( text );
}
}