mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-22 16:32:13 -07:00
Two tiny cleanup patches from James H.
[originally from svn r6111]
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user