blob: 2392ecfb4b93baff0278931ecc84e21b3955a43b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ad,v 1.4 2003/12/31 18:07:47 ben Exp $
--- save.c.orig 1999-01-01 20:00:10.000000000 -0800
+++ save.c
@@ -302,7 +302,7 @@ plv level;
}
mask >>= 1;
if (level->site[i][j].lstatus&SEEN)
- mask |= (1<<(sizeof(long int)*8 - 1));
+ mask |= (1UL<<(sizeof(long int)*8 - 1));
run--;
}
if (run < 8*sizeof(long int))
@@ -442,7 +442,7 @@ FILE *fd;
}
mask >>= 1;
if (c_statusp(i, j, SEEN))
- mask |= (1<<(sizeof(long int)*8 - 1));
+ mask |= (1UL<<(sizeof(long int)*8 - 1));
run--;
}
if (run < 8*sizeof(long int))
|