Fixed some warnings

svn path=/trunk/; revision=1302
This commit is contained in:
Eric Kohl 2000-08-15 12:50:35 +00:00
parent b4cd061025
commit 7b9adffa48
3 changed files with 5 additions and 2 deletions

View file

@ -78,7 +78,7 @@ BOOL EngBitBlt(SURFOBJ *Dest, SURFOBJ *Source,
// If we don't have to do anything special, we can punt to DrvCopyBits
// if it exists
if( (Mask == NULL) && (MaskRect == NULL) && (Brush == NULL) &&
(BrushOrigin == NULL) && (rop4 == NULL) )
(BrushOrigin == NULL) && (rop4 == 0) )
{
canCopyBits = TRUE;
} else

View file

@ -13,7 +13,8 @@
PVOID BRUSHOBJ_pvAllocRbrush(IN PBRUSHOBJ BrushObj,
IN ULONG ObjSize)
{
BrushObj->pvRbrush=EngAllocMem(NULL, ObjSize, 0);
BrushObj->pvRbrush=EngAllocMem(0, ObjSize, 0);
return BrushObj->pvRbrush;
}
PVOID BRUSHOBJ_pvGetRbrush(IN PBRUSHOBJ BrushObj)

View file

@ -19,3 +19,5 @@ typedef struct _GDI_HANDLE {
GDI_HANDLE GDIHandles[MAX_GDI_HANDLES];
ULONG HandleCounter = 1;