Index: GIT-warnings/lib/int_sqrt.c =================================================================== --- GIT-warnings.orig/lib/int_sqrt.c 2005-10-25 13:55:22.000000000 +1000 +++ GIT-warnings/lib/int_sqrt.c 2006-01-06 14:29:19.000000000 +1100 @@ -15,7 +15,7 @@ unsigned long int_sqrt(unsigned long x) op = x; res = 0; - one = 1 << 30; + one = 1 << (BITS_PER_LONG - 2); while (one > op) one >>= 2;