aboutsummaryrefslogtreecommitdiff
path: root/untangle.c
diff options
context:
space:
mode:
authorSimon Tatham <anakin@pobox.com>2005-07-17 14:49:13 +0000
committerSimon Tatham <anakin@pobox.com>2005-07-17 14:49:13 +0000
commit8ac92e860769b822300115064d090cff0645c7dd (patch)
tree6e98b013d26bb5ec278b599fe1ac6a284f61b11f /untangle.c
parent782a4f3fece388a3b5e541f4b1b11f86f69d5921 (diff)
downloadpuzzles-8ac92e860769b822300115064d090cff0645c7dd.zip
puzzles-8ac92e860769b822300115064d090cff0645c7dd.tar.gz
puzzles-8ac92e860769b822300115064d090cff0645c7dd.tar.bz2
puzzles-8ac92e860769b822300115064d090cff0645c7dd.tar.xz
Two tiny cleanup patches from James H.
[originally from svn r6111]
Diffstat (limited to 'untangle.c')
-rw-r--r--untangle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/untangle.c b/untangle.c
index 9fc786b..5d01e9a 100644
--- a/untangle.c
+++ b/untangle.c
@@ -284,7 +284,7 @@ static unsigned long squarert(unsigned long n) {
d = n;
a = 0;
- b = 1 << 30; /* largest available power of 4 */
+ b = 1L << 30; /* largest available power of 4 */
do {
a >>= 1;
di = 2*a + b;