Fixed a few compilation warnings.

This commit is contained in:
Eric Pouech 2000-04-29 14:29:41 +00:00 committed by Alexandre Julliard
parent 95bcd5178a
commit 12222f0d54
4 changed files with 7 additions and 7 deletions

View file

@ -281,7 +281,7 @@ BOOL X11DRV_GetScreenSaveActive(void)
{
int timeout, temp;
TSXGetScreenSaver(display, &timeout, &temp, &temp, &temp);
return timeout != NULL;
return timeout != 0;
}
/***********************************************************************

View file

@ -585,8 +585,8 @@ END:
*/
Pixmap X11DRV_BITMAP_CreatePixmapFromBitmap( HBITMAP hBmp, HDC hdc )
{
HGLOBAL hPackedDIB = NULL;
Pixmap pixmap = NULL;
HGLOBAL hPackedDIB = 0;
Pixmap pixmap = 0;
/*
* Create a packed DIB from the bitmap passed to us.

View file

@ -178,7 +178,7 @@ void ASPI_DOS_HandleInt(CONTEXT86 *context)
if( hWNASPI32 == INVALID_HANDLE_VALUE )
{
TRACE("Loading WNASPI32\n");
hWNASPI32 = LoadLibraryExA("WNASPI32", NULL, 0);
hWNASPI32 = LoadLibraryExA("WNASPI32", 0, 0);
}
if( hWNASPI32 == INVALID_HANDLE_VALUE )

View file

@ -29,7 +29,7 @@ HMONITOR WINAPI MonitorFromPoint(POINT ptScreenCoords, DWORD dwFlags)
{
return xPRIMARY_MONITOR;
}
return NULL;
return (HMONITOR)0;
}
/***********************************************************************
@ -45,7 +45,7 @@ HMONITOR WINAPI MonitorFromRect(LPRECT lprcScreenCoords, DWORD dwFlags)
{
return xPRIMARY_MONITOR;
}
return NULL;
return (HMONITOR)0;
}
/***********************************************************************
@ -65,7 +65,7 @@ HMONITOR WINAPI MonitorFromWindow(HWND hWnd, DWORD dwFlags)
return MonitorFromRect(&wp.rcNormalPosition, dwFlags);
}
return NULL;
return (HMONITOR)0;
}
/***********************************************************************