PERFORCE change 28819 for review
Robert Drehmel
robert at FreeBSD.org
Sat Apr 12 08:37:19 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=28819
Change 28819 by robert at robert_spes on 2003/04/12 08:37:07
Fix warnings which occurred if sizeof(long) > sizeof(int).
Affected files ...
.. //depot/projects/mips/lib/libstand/quad.h#2 edit
Differences ...
==== //depot/projects/mips/lib/libstand/quad.h#2 (text+ko) ====
@@ -94,7 +94,7 @@
* (sizeof(long)*CHAR_BIT/2).
*/
#define HHALF(x) ((x) >> HALF_BITS)
-#define LHALF(x) ((x) & ((1 << HALF_BITS) - 1))
+#define LHALF(x) ((x) & ((1UL << HALF_BITS) - 1))
#define LHUP(x) ((x) << HALF_BITS)
quad_t __divdi3(quad_t a, quad_t b);
More information about the p4-projects
mailing list