fixed difference in signedness warnings

svn path=/trunk/; revision=20371
This commit is contained in:
Thomas Bluemel 2005-12-27 15:33:31 +00:00
parent 10d768b33b
commit 57ce730b6a
2 changed files with 2 additions and 2 deletions

View file

@ -7210,7 +7210,7 @@ SetupDiInstallDeviceInterfaces(
LPWSTR InterfaceGuidString = NULL; LPWSTR InterfaceGuidString = NULL;
LPWSTR ReferenceString = NULL; LPWSTR ReferenceString = NULL;
LPWSTR InterfaceSection = NULL; LPWSTR InterfaceSection = NULL;
UINT InterfaceFlags; INT InterfaceFlags;
GUID InterfaceGuid; GUID InterfaceGuid;
BOOL Result; BOOL Result;

View file

@ -1524,7 +1524,7 @@ BITMAPOBJ_CopyBitmap(HBITMAP hBitmap)
res = IntCreateBitmapIndirect(&bm); res = IntCreateBitmapIndirect(&bm);
if(res) if(res)
{ {
char *buf; PBYTE buf;
buf = ExAllocatePoolWithTag (PagedPool, bm.bmWidthBytes * abs(bm.bmHeight), TAG_BITMAP); buf = ExAllocatePoolWithTag (PagedPool, bm.bmWidthBytes * abs(bm.bmHeight), TAG_BITMAP);
NtGdiGetBitmapBits (hBitmap, bm.bmWidthBytes * abs(bm.bmHeight), buf); NtGdiGetBitmapBits (hBitmap, bm.bmWidthBytes * abs(bm.bmHeight), buf);