From 57ce730b6a28de94c91933ac35b34c6bcd03ad9d Mon Sep 17 00:00:00 2001 From: Thomas Bluemel Date: Tue, 27 Dec 2005 15:33:31 +0000 Subject: [PATCH] fixed difference in signedness warnings svn path=/trunk/; revision=20371 --- reactos/lib/setupapi/devinst.c | 2 +- reactos/subsys/win32k/objects/bitmaps.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);