diff --git a/vm/callstack.cpp b/vm/callstack.cpp index 0c81aa408a..37647b2b3b 100755 --- a/vm/callstack.cpp +++ b/vm/callstack.cpp @@ -21,7 +21,7 @@ be calling it at all, so we leave it as it is for now. */ void *factor_vm::second_from_top_stack_frame(context *ctx) { void *frame_top = ctx->callstack_top; - for (unsigned i = 0; i < 2; ++i) + for (cell i = 0; i < 2; ++i) { void *pred = frame_predecessor(frame_top); if (pred >= ctx->callstack_bottom) diff --git a/vm/code_heap.cpp b/vm/code_heap.cpp index 95cef61d76..ad3680bb0d 100755 --- a/vm/code_heap.cpp +++ b/vm/code_heap.cpp @@ -105,7 +105,6 @@ struct all_blocks_set_verifier { void operator()(code_block *block, cell size) { FACTOR_ASSERT(all_blocks->find((cell)block) != all_blocks->end()); - // XXX check block size } };