diff Objects/longobject.c @ 51075:2ea75f60d9e5 legacy-trunk

Fix comment.
author Mark Dickinson <dickinsm@gmail.com>
date Mon, 26 Jan 2009 21:40:08 +0000
parents 200829255a6a
children 20609fc13a13
line wrap: on
line diff
--- a/Objects/longobject.c	Mon Jan 26 21:36:30 2009 +0000
+++ b/Objects/longobject.c	Mon Jan 26 21:40:08 2009 +0000
@@ -1977,9 +1977,9 @@
 		i = -(i);
 	}
 #define LONG_BIT_PyLong_SHIFT	(8*sizeof(long) - PyLong_SHIFT)
-	/* The following loop produces a C long x such that x is congruent to
-	   the absolute value of v modulo ULONG_MAX.  The resulting x is
-	   nonzero if and only if v is. */
+	/* The following loop produces a C unsigned long x such that x is
+	   congruent to the absolute value of v modulo ULONG_MAX.  The
+	   resulting x is nonzero if and only if v is. */
 	while (--i >= 0) {
 		/* Force a native long #-bits (32 or 64) circular shift */
 		x = ((x << PyLong_SHIFT) & ~PyLong_MASK) |