summaryrefslogtreecommitdiff
path: root/reclaim.c
diff options
context:
space:
mode:
Diffstat (limited to 'reclaim.c')
-rw-r--r--reclaim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/reclaim.c b/reclaim.c
index 9be3a5fc..cca47310 100644
--- a/reclaim.c
+++ b/reclaim.c
@@ -541,7 +541,7 @@ unsigned GC_n_set_marks(hdr *hhdr)
result--; /* exclude the one bit set past the end */
# ifndef MARK_BIT_PER_OBJ
if (IS_UNCOLLECTABLE(hhdr -> hb_obj_kind)) {
- size_t ngranules = BYTES_TO_GRANULES(sz);
+ unsigned ngranules = (unsigned)BYTES_TO_GRANULES(sz);
/* As mentioned in GC_set_hdr_marks(), all the bits are set */
/* instead of every n-th, thus the result should be adjusted. */