diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-25 12:14:50 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-25 12:14:50 -0400 |
commit | 08a2ffe8c4711e94ecd7b44952babc28e00a960f (patch) | |
tree | c2abc1f35c78b4df1967d62c5a2f1002ca5fab83 /lisc/lisc.h | |
parent | 4dccbf22f3be3b206f8d8e6690adbdd2c1a6550c (diff) | |
download | roux-08a2ffe8c4711e94ecd7b44952babc28e00a960f.tar.gz |
change controversial (at best) typedef
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r-- | lisc/lisc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h index fbd2310..c577dea 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -5,7 +5,7 @@ #include <string.h> typedef unsigned int uint; -typedef unsigned long long ulong; +typedef unsigned long ulong; typedef struct Bits Bits; typedef struct Ref Ref; @@ -66,7 +66,7 @@ struct Bits { ulong t[BITS]; }; -#define BIT(n) (1ull << (n)) +#define BIT(n) (1ul << (n)) #define BGET(b, n) (1&((b).t[n/NBit]>>(n%NBit))) #define BSET(b, n) ((b).t[n/NBit] |= BIT(n%NBit)) #define BCLR(b, n) ((b).t[n/NBit] &= ~BIT(n%NBit)) |