summaryrefslogtreecommitdiffstats
path: root/default.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-06-07 18:43:48 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-06-07 18:43:48 +0200
commita6965d707c82317f31bb7ed8eabea05b7adb6775 (patch)
tree5c45e5282f9437b8b2ba70151dee4238ad75f639 /default.c
parentd50845646087c15dd68e24b8504f138869c3e7f2 (diff)
downloadipecamera-a6965d707c82317f31bb7ed8eabea05b7adb6775.tar.gz
ipecamera-a6965d707c82317f31bb7ed8eabea05b7adb6775.tar.bz2
ipecamera-a6965d707c82317f31bb7ed8eabea05b7adb6775.tar.xz
ipecamera-a6965d707c82317f31bb7ed8eabea05b7adb6775.zip
32 bit fix
Diffstat (limited to 'default.c')
-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)