diff --git a/reactos/lib/setupapi/devinst.c b/reactos/lib/setupapi/devinst.c index a8a002efe2b..ac9f41689f1 100644 --- a/reactos/lib/setupapi/devinst.c +++ b/reactos/lib/setupapi/devinst.c @@ -7210,7 +7210,7 @@ SetupDiInstallDeviceInterfaces( LPWSTR InterfaceGuidString = NULL; LPWSTR ReferenceString = NULL; LPWSTR InterfaceSection = NULL; - UINT InterfaceFlags; + INT InterfaceFlags; GUID InterfaceGuid; BOOL Result; diff --git a/reactos/subsys/win32k/objects/bitmaps.c b/reactos/subsys/win32k/objects/bitmaps.c index fe11e3681c4..a9f2718261e 100644 --- a/reactos/subsys/win32k/objects/bitmaps.c +++ b/reactos/subsys/win32k/objects/bitmaps.c @@ -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);