Browse Source

bugfix armv7

ncannasse 8 years ago
parent
commit
4550ec6a49
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/alloc.c

+ 1 - 1
src/alloc.c

@@ -683,7 +683,7 @@ static void gc_flush_mark() {
 #		endif
 		while( pos < nwords ) {
 			void *p;
-			if( mark_bits && (mark_bits[pos >> 5] & (1 << pos)) == 0 ) { // &31 implicit
+			if( mark_bits && (mark_bits[pos >> 5] & (1 << (pos&31))) == 0 ) {
 				pos++;
 				block++;
 				continue;