From a6965d707c82317f31bb7ed8eabea05b7adb6775 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 7 Jun 2011 18:43:48 +0200 Subject: 32 bit fix --- default.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'default.c') 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) -- cgit v1.2.3