diff --git a/freeglut/freeglut/ChangeLog b/freeglut/freeglut/ChangeLog index 72b5b5d..7b630b1 100644 --- a/freeglut/freeglut/ChangeLog +++ b/freeglut/freeglut/ChangeLog @@ -1079,3 +1079,5 @@ minimizing a window). (278) MinGW is lacking a prototype for ChangeDisplaySettingsEx, so supply one in this case. Note that this should better be handled via autoconf than via cpp. + +(279) Silenced a signed/unsigned mismatched via a cast. diff --git a/freeglut/freeglut/src/freeglut_input_devices.c b/freeglut/freeglut/src/freeglut_input_devices.c index a53a81b..b5a9144 100755 --- a/freeglut/freeglut/src/freeglut_input_devices.c +++ b/freeglut/freeglut/src/freeglut_input_devices.c @@ -147,7 +147,7 @@ void fgInitialiseInputDevices ( void ) DWORD type = REG_SZ; HKEY key; if (RegOpenKeyA(HKEY_LOCAL_MACHINE,"SOFTWARE\\FreeGLUT",&key)==ERROR_SUCCESS) { - if (RegQueryValueExA(key,"DialboxSerialPort",NULL,&type,devname,&size)==ERROR_SUCCESS){ + if (RegQueryValueExA(key,"DialboxSerialPort",NULL,&type,(LPBYTE)devname,&size)==ERROR_SUCCESS){ dial_device=devname; } RegCloseKey(key);