]> granicus.if.org Git - python/commitdiff
Fix comment.
authorMark Dickinson <dickinsm@gmail.com>
Mon, 26 Jan 2009 21:40:08 +0000 (21:40 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Mon, 26 Jan 2009 21:40:08 +0000 (21:40 +0000)
Objects/longobject.c

index fdb5664af85ad923b2602117d345413af79a5134..fdbda6b7011ac5fecb53ed05e7df387e3189a355 100644 (file)
@@ -1977,9 +1977,9 @@ long_hash(PyLongObject *v)
                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) |