summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <klto@zhaw.ch>2009-10-27 14:03:19 +0100
committerTobias Klauser <klto@zhaw.ch>2009-10-27 14:03:19 +0100
commitd944dd523f456b95afc6f7f829350cf107b6f665 (patch)
tree3aa082c7b22b1b33df7da49c8a577435e5308e9d
parent82267229ea33f0c21b92cee90832be978eed028f (diff)
crc32: Coding style
-rw-r--r--crc32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crc32.c b/crc32.c
index 4ee251a..14920a2 100644
--- a/crc32.c
+++ b/crc32.c
@@ -3,7 +3,7 @@
#include "crc32.h"
-#define BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL<<(n))-1))
+#define BIT_MASK(n) (((n) == 64) ? ~0ULL : ((1ULL << (n)) - 1))
/* Table computed with Mark Adler's makecrc.c utility. */
static const uint32_t crc32_table[256] = {