fixed difference in signedness warnings
authorThomas Bluemel <thomas@reactsoft.com>
Tue, 27 Dec 2005 15:33:31 +0000 (15:33 +0000)
committerThomas Bluemel <thomas@reactsoft.com>
Tue, 27 Dec 2005 15:33:31 +0000 (15:33 +0000)
svn path=/trunk/; revision=20371

reactos/lib/setupapi/devinst.c
reactos/subsys/win32k/objects/bitmaps.c

index a8a002e..ac9f416 100644 (file)
@@ -7210,7 +7210,7 @@ SetupDiInstallDeviceInterfaces(
         LPWSTR InterfaceGuidString = NULL;
         LPWSTR ReferenceString = NULL;
         LPWSTR InterfaceSection = NULL;
-        UINT InterfaceFlags;
+        INT InterfaceFlags;
         GUID InterfaceGuid;
         BOOL Result;
 
index fe11e36..a9f2718 100644 (file)
@@ -1524,7 +1524,7 @@ BITMAPOBJ_CopyBitmap(HBITMAP  hBitmap)
        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);