Commit 12222f0d authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Fixed a few compilation warnings.

parent 95bcd517
...@@ -281,7 +281,7 @@ BOOL X11DRV_GetScreenSaveActive(void) ...@@ -281,7 +281,7 @@ BOOL X11DRV_GetScreenSaveActive(void)
{ {
int timeout, temp; int timeout, temp;
TSXGetScreenSaver(display, &timeout, &temp, &temp, &temp); TSXGetScreenSaver(display, &timeout, &temp, &temp, &temp);
return timeout != NULL; return timeout != 0;
} }
/*********************************************************************** /***********************************************************************
......
...@@ -585,8 +585,8 @@ END: ...@@ -585,8 +585,8 @@ END:
*/ */
Pixmap X11DRV_BITMAP_CreatePixmapFromBitmap( HBITMAP hBmp, HDC hdc ) Pixmap X11DRV_BITMAP_CreatePixmapFromBitmap( HBITMAP hBmp, HDC hdc )
{ {
HGLOBAL hPackedDIB = NULL; HGLOBAL hPackedDIB = 0;
Pixmap pixmap = NULL; Pixmap pixmap = 0;
/* /*
* Create a packed DIB from the bitmap passed to us. * Create a packed DIB from the bitmap passed to us.
......
...@@ -178,7 +178,7 @@ void ASPI_DOS_HandleInt(CONTEXT86 *context) ...@@ -178,7 +178,7 @@ void ASPI_DOS_HandleInt(CONTEXT86 *context)
if( hWNASPI32 == INVALID_HANDLE_VALUE ) if( hWNASPI32 == INVALID_HANDLE_VALUE )
{ {
TRACE("Loading WNASPI32\n"); TRACE("Loading WNASPI32\n");
hWNASPI32 = LoadLibraryExA("WNASPI32", NULL, 0); hWNASPI32 = LoadLibraryExA("WNASPI32", 0, 0);
} }
if( hWNASPI32 == INVALID_HANDLE_VALUE ) if( hWNASPI32 == INVALID_HANDLE_VALUE )
......
...@@ -29,7 +29,7 @@ HMONITOR WINAPI MonitorFromPoint(POINT ptScreenCoords, DWORD dwFlags) ...@@ -29,7 +29,7 @@ HMONITOR WINAPI MonitorFromPoint(POINT ptScreenCoords, DWORD dwFlags)
{ {
return xPRIMARY_MONITOR; return xPRIMARY_MONITOR;
} }
return NULL; return (HMONITOR)0;
} }
/*********************************************************************** /***********************************************************************
...@@ -45,7 +45,7 @@ HMONITOR WINAPI MonitorFromRect(LPRECT lprcScreenCoords, DWORD dwFlags) ...@@ -45,7 +45,7 @@ HMONITOR WINAPI MonitorFromRect(LPRECT lprcScreenCoords, DWORD dwFlags)
{ {
return xPRIMARY_MONITOR; return xPRIMARY_MONITOR;
} }
return NULL; return (HMONITOR)0;
} }
/*********************************************************************** /***********************************************************************
...@@ -65,7 +65,7 @@ HMONITOR WINAPI MonitorFromWindow(HWND hWnd, DWORD dwFlags) ...@@ -65,7 +65,7 @@ HMONITOR WINAPI MonitorFromWindow(HWND hWnd, DWORD dwFlags)
return MonitorFromRect(&wp.rcNormalPosition, dwFlags); return MonitorFromRect(&wp.rcNormalPosition, dwFlags);
} }
return NULL; return (HMONITOR)0;
} }
/*********************************************************************** /***********************************************************************
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment