blob: e608455c5546330dfc27d7b8a0425da96a95efd0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- parser.y~ 2014-10-15 09:01:14.265779740 +0200
+++ parser.y 2014-10-15 09:02:26.951775397 +0200
@@ -1016,13 +1016,13 @@
*
*/
-#define indx(a) ( (a)/(sizeof(long)*8) )
-#define bit(a) ( 1 << ((a)%(sizeof(long)*8)) )
+#define indx(a) ( (a)/(32) )
+#define bit(a) ( 1 << ((a)%(32)) )
#define getloc(a) (regions[indx(a)] & bit(a))
#define setloc(a) (regions[indx(a)] |= bit(a))
-static unsigned long regions[ 0x10000/(sizeof(long)*8) ];
+static unsigned long regions[ 0x10000/(32) ];
void inclc(int i)
{
|