summaryrefslogtreecommitdiff
path: root/typd_mlc.c
diff options
context:
space:
mode:
Diffstat (limited to 'typd_mlc.c')
-rw-r--r--typd_mlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/typd_mlc.c b/typd_mlc.c
index 90a86bb7..a1aee98d 100644
--- a/typd_mlc.c
+++ b/typd_mlc.c
@@ -528,7 +528,7 @@ STATIC mse * GC_array_mark_proc(word * addr, mse * mark_stack_ptr,
GC_API GC_descr GC_CALL GC_make_descriptor(const GC_word * bm, size_t len)
{
- signed_word last_set_bit = len - 1;
+ signed_word last_set_bit = (signed_word)len - 1;
GC_descr result;
DCL_LOCK_STATE;