summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--default.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/default.c b/default.c
index d03858f..e01a623 100644
--- a/default.c
+++ b/default.c
@@ -6,7 +6,7 @@
#include "default.h"
#include "error.h"
-#define BIT_MASK(bits) ((1l << (bits)) - 1)
+#define BIT_MASK(bits) ((1ll << (bits)) - 1)
#define default_datacpy(dst, src, access, bank) pcilib_datacpy(dst, src, access, 1, bank->raw_endianess)