Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Apr 2003 09:58:07 -0700 (PDT)
From:      Robert Drehmel <robert@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 28838 for review
Message-ID:  <200304121658.h3CGw77N027180@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=28838

Change 28838 by robert@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))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304121658.h3CGw77N027180>