PATCH: rtlbitmap fixes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Ciao, Marcus

Changelog:
	unsigned long long constants need 'ull' suffix.

Index: dlls/ntdll/rtlbitmap.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/rtlbitmap.c,v
retrieving revision 1.3
diff -u -r1.3 rtlbitmap.c
--- dlls/ntdll/rtlbitmap.c	18 Feb 2003 23:22:50 -0000	1.3
+++ dlls/ntdll/rtlbitmap.c	5 Mar 2003 08:38:43 -0000
@@ -582,7 +582,7 @@
 
   TRACE("(%lld)\n", ulLong);
 
-  if (!(ulLong & 0xffffffff00000000ul))
+  if (!(ulLong & 0xffffffff00000000ULL))
   {
     lpOut -= 4;
     lCount -= 32;
Index: dlls/ntdll/tests/rtlbitmap.c
===================================================================
RCS file: /home/wine/wine/dlls/ntdll/tests/rtlbitmap.c,v
retrieving revision 1.3
diff -u -r1.3 rtlbitmap.c
--- dlls/ntdll/tests/rtlbitmap.c	18 Feb 2003 23:22:49 -0000	1.3
+++ dlls/ntdll/tests/rtlbitmap.c	5 Mar 2003 08:38:43 -0000
@@ -473,7 +473,7 @@
     cPos = pRtlFindLeastSignificantBit(ulLong);
     ok (cPos == i, "didnt find LSB %llx %d %d", ulLong, i, cPos);
 
-    ulLong = 0xfffffffffffffffful;
+    ulLong = 0xffffffffffffffffULL;
     ulLong <<= i;
 
     cPos = pRtlFindLeastSignificantBit(ulLong);


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux