Fixes a few of the many compiler warnings.
This commit is contained in:
parent
698a8b17b7
commit
7b06d98404
|
@ -999,7 +999,7 @@ HBITMAP32 WINAPI CreateDIBSection32 (HDC32 hdc, BITMAPINFO *bmi, UINT32 usage,
|
|||
/* Clean up in case of errors */
|
||||
if (!res || !bmp || !dib || !bm.bmBits || (bm.bmBitsPixel <= 8 && !colorMap))
|
||||
{
|
||||
TRACE(bitmap, "got an error res=%lu, bmp=%p, dib=%p, bm.bmBits=%p\n",
|
||||
TRACE(bitmap, "got an error res=%08x, bmp=%p, dib=%p, bm.bmBits=%p\n",
|
||||
res, bmp, dib, bm.bmBits);
|
||||
if (bm.bmBits)
|
||||
{
|
||||
|
|
|
@ -514,7 +514,7 @@ UINT32 WINAPI GetEnhMetaFilePaletteEntries(HENHMETAFILE32 hemf,
|
|||
LPPALETTEENTRY lppe)
|
||||
{
|
||||
LPENHMETAHEADER h = GlobalLock32(hemf);
|
||||
UINT32 temp = h->nPalEntries;
|
||||
|
||||
if ( h == NULL ){
|
||||
GlobalUnlock32(hemf);
|
||||
return(0);
|
||||
|
@ -545,7 +545,7 @@ HENHMETAFILE32 WINAPI SetWinMetaFileBits(UINT32 cbBuffer,
|
|||
)
|
||||
{
|
||||
FIXME(metafile,"Stub\n");
|
||||
return NULL;
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -217,7 +217,8 @@ BOOL32 WINAPI SetConsoleCtrlHandler( HANDLER_ROUTINE *func, BOOL32 add )
|
|||
done++;
|
||||
}
|
||||
if (!done)
|
||||
WARN(console, "Attempt to remove non-installed CtrlHandler %p\n");
|
||||
WARN(console, "Attempt to remove non-installed CtrlHandler %p\n",
|
||||
func);
|
||||
return (done);
|
||||
}
|
||||
return (done);
|
||||
|
|
Loading…
Reference in New Issue