PERFORCE change 28838 for review

Robert Drehmel robert at FreeBSD.org
Sat Apr 12 09:58:09 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=28838

Change 28838 by robert at robert_spes on 2003/04/12 09:57:41

	Fix another LP64 incompatibility.

Affected files ...

.. //depot/projects/mips/lib/libstand/qdivrem.c#2 edit

Differences ...

==== //depot/projects/mips/lib/libstand/qdivrem.c#2 (text+ko) ====

@@ -47,7 +47,7 @@
 
 #include "quad.h"
 
-#define	B	(1 << HALF_BITS)	/* digit base */
+#define	B	(1UL << HALF_BITS)	/* digit base */
 
 /* Combine two `digits' to make a single two-digit number. */
 #define	COMBINE(a, b) (((u_long)(a) << HALF_BITS) | (b))


More information about the p4-projects mailing list