Compiler warning fixes for Windows message box code.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 03 Apr 2013 11:48:03 -0400
changeset 7052 1297b81ad473
parent 7051 cf773d8091c7
child 7053 187225ae13e5
Compiler warning fixes for Windows message box code.
src/video/windows/SDL_windowsmessagebox.c
--- a/src/video/windows/SDL_windowsmessagebox.c	Wed Apr 03 11:38:05 2013 -0400
+++ b/src/video/windows/SDL_windowsmessagebox.c	Wed Apr 03 11:48:03 2013 -0400
@@ -164,7 +164,7 @@
 
 static int s_BaseUnitsX;
 static int s_BaseUnitsY;
-static void Vec2ToDLU(WORD* x, WORD* y)
+static void Vec2ToDLU(short *x, short *y)
 {
     SDL_assert(s_BaseUnitsX != 0); // we init in WIN_ShowMessageBox(), which is the only public function...