mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
Fixed some warnings
svn path=/trunk/; revision=1302
This commit is contained in:
parent
b4cd061025
commit
7b9adffa48
3 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -19,3 +19,5 @@ typedef struct _GDI_HANDLE {
|
|||
|
||||
GDI_HANDLE GDIHandles[MAX_GDI_HANDLES];
|
||||
ULONG HandleCounter = 1;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue