Skip to content

Commit

Permalink
Fix compiler warning in GC debug code...
Browse files Browse the repository at this point in the history
since `szc->num_pages` is an MVMuint32.
  • Loading branch information
MasterDuke17 committed Jun 21, 2020
1 parent 0c651c2 commit 06d8cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gc/debug.c
Expand Up @@ -26,7 +26,7 @@ void MVM_gc_debug_find_region(MVMThreadContext *tc, void *ptr) {
MVMint32 bin;
for (bin = 0; bin < MVM_GEN2_BINS; bin++) {
MVMGen2SizeClass *szc = &(gen2->size_classes[bin]);
MVMint32 page;
MVMuint32 page;
for (page = 0; page < szc->num_pages; page++) {
char *page_start = szc->pages[page];
size_t page_size = MVM_GEN2_PAGE_ITEMS * ((bin + 1) << MVM_GEN2_BIN_BITS);
Expand Down

0 comments on commit 06d8cdd

Please sign in to comment.