Silenced a signed/unsigned mismatched via a cast.
authorSven Panne <sven.panne@aedion.de>
Fri, 1 Jul 2005 11:44:53 +0000 (11:44 +0000)
committerSven Panne <sven.panne@aedion.de>
Fri, 1 Jul 2005 11:44:53 +0000 (11:44 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@653 7f0cb862-5218-0410-a997-914c9d46530a

ChangeLog
src/freeglut_input_devices.c

index 72b5b5d..7b630b1 100644 (file)
--- a/ChangeLog
+++ b/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.
index a53a81b..b5a9144 100755 (executable)
@@ -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);