[ros-diffs] [weiden] 20371: fixed difference in signedness warnings

weiden at svn.reactos.com weiden at svn.reactos.com
Tue Dec 27 16:33:41 CET 2005


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);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20051227/a4e032d7/attachment.html


More information about the Ros-diffs mailing list