]> gitweb.factorcode.org Git - factor.git/commitdiff
Win64 Windows SDK hates int/cell type errors
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 29 Sep 2010 22:43:27 +0000 (17:43 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 29 Sep 2010 22:43:27 +0000 (17:43 -0500)
vm/gc.cpp
vm/slot_visitor.hpp

index 0de3dac91f6d480c3d1d56eae3186b6e5afcccfd..22c851378c7a84f72e116517af03f66d7a7ef2c1 100755 (executable)
--- a/vm/gc.cpp
+++ b/vm/gc.cpp
@@ -230,7 +230,7 @@ struct call_frame_scrubber {
                gc_info *info = compiled->block_gc_info();
 
                assert(return_address < compiled->size());
-               int index = info->return_address_index(return_address);
+               cell index = info->return_address_index(return_address);
                if(index != -1)
                        ctx->scrub_stacks(info,index);
        }
index 303fc37544512e9f3fa242399d3678fb2d27fad3..b97f988e6590e7079c4171796b151e445f3b7ea3 100755 (executable)
@@ -292,7 +292,7 @@ struct call_frame_slot_visitor {
                gc_info *info = compiled->block_gc_info();
 
                assert(return_address < compiled->size());
-               u32 callsite = info->return_address_index(return_address);
+               cell callsite = info->return_address_index(return_address);
                if(callsite == gc_info_missing_value)
                        return;