am 2f5e3cb2: Merge "Scale the card count by bits per byte to derive a bit vector length."

* commit '2f5e3cb20ed3fa00e474fb4813f2c1f46d04afd4':
  Scale the card count by bits per byte to derive a bit vector length.
diff --git a/vm/alloc/MarkSweep.c b/vm/alloc/MarkSweep.c
index 85a4a8e..8e924d5 100644
--- a/vm/alloc/MarkSweep.c
+++ b/vm/alloc/MarkSweep.c
@@ -192,7 +192,7 @@
     assert(base >= heapBase);
     u4 *bits = (u4*)gDvm.gcHeap->modUnionTableBase;
     /* compute the end address in the bit table */
-    size_t byteLength = (limit - base) / GC_CARD_SIZE;
+    size_t byteLength = (limit - base) / GC_CARD_SIZE / CHAR_BIT;
     assert(byteLength <= gDvm.gcHeap->modUnionTableLength);
     assert(byteLength % sizeof(*bits) == 0);
     size_t wordLength = byteLength / sizeof(*bits);