Silenced a signed/unsigned mismatched via a cast.
git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@653 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
parent
50c4e7b82a
commit
865b149540
@ -1079,3 +1079,5 @@ minimizing a window).
|
|||||||
(278) MinGW is lacking a prototype for ChangeDisplaySettingsEx, so
|
(278) MinGW is lacking a prototype for ChangeDisplaySettingsEx, so
|
||||||
supply one in this case. Note that this should better be handled via
|
supply one in this case. Note that this should better be handled via
|
||||||
autoconf than via cpp.
|
autoconf than via cpp.
|
||||||
|
|
||||||
|
(279) Silenced a signed/unsigned mismatched via a cast.
|
||||||
|
@ -147,7 +147,7 @@ void fgInitialiseInputDevices ( void )
|
|||||||
DWORD type = REG_SZ;
|
DWORD type = REG_SZ;
|
||||||
HKEY key;
|
HKEY key;
|
||||||
if (RegOpenKeyA(HKEY_LOCAL_MACHINE,"SOFTWARE\\FreeGLUT",&key)==ERROR_SUCCESS) {
|
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;
|
dial_device=devname;
|
||||||
}
|
}
|
||||||
RegCloseKey(key);
|
RegCloseKey(key);
|
||||||
|
Reference in New Issue
Block a user