Use symbolic constants when computing bits-per-word.
diff --git a/vm/alloc/HeapBitmap.h b/vm/alloc/HeapBitmap.h
index 1f05c2b..e60d06f 100644
--- a/vm/alloc/HeapBitmap.h
+++ b/vm/alloc/HeapBitmap.h
@@ -16,10 +16,11 @@
#ifndef _DALVIK_HEAP_BITMAP
#define _DALVIK_HEAP_BITMAP
+#include <limits.h>
#include <stdint.h>
#define HB_OBJECT_ALIGNMENT 8
-#define HB_BITS_PER_WORD (sizeof (unsigned long) * 8)
+#define HB_BITS_PER_WORD (sizeof(unsigned long) * CHAR_BIT)
/* <offset> is the difference from .base to a pointer address.
* <index> is the index of .bits that contains the bit representing