fixed difference in signedness warnings
Modified: trunk/reactos/lib/setupapi/devinst.c
Modified: trunk/reactos/subsys/win32k/objects/bitmaps.c
_____
Modified: trunk/reactos/lib/setupapi/devinst.c
--- trunk/reactos/lib/setupapi/devinst.c 2005-12-27 15:19:45 UTC
(rev 20370)
+++ trunk/reactos/lib/setupapi/devinst.c 2005-12-27 15:33:31 UTC
(rev 20371)
@@ -7210,7 +7210,7 @@
LPWSTR InterfaceGuidString = NULL;
LPWSTR ReferenceString = NULL;
LPWSTR InterfaceSection = NULL;
- UINT InterfaceFlags;
+ INT InterfaceFlags;
GUID InterfaceGuid;
BOOL Result;
_____
Modified: trunk/reactos/subsys/win32k/objects/bitmaps.c
--- trunk/reactos/subsys/win32k/objects/bitmaps.c 2005-12-27
15:19:45 UTC (rev 20370)
+++ trunk/reactos/subsys/win32k/objects/bitmaps.c 2005-12-27
15:33:31 UTC (rev 20371)
@@ -1524,7 +1524,7 @@
res = IntCreateBitmapIndirect(&bm);
if(res)
{
- char *buf;
+ PBYTE buf;
buf = ExAllocatePoolWithTag (PagedPool, bm.bmWidthBytes
* abs(bm.bmHeight), TAG_BITMAP);
NtGdiGetBitmapBits (hBitmap, bm.bmWidthBytes *
abs(bm.bmHeight), buf);
Show replies by date