add missing casts that are required by some C compilers

This commit is contained in:
Matthew Flatt 2014-06-26 12:23:49 +01:00
parent 9a14c9c420
commit 31c35d8da2

View File

@ -385,8 +385,8 @@ void *scheme_generate_one(mz_jit_state *old_jitter,
scheme_console_printf("\n");
}
scheme_console_printf("}\n");
bp = jit_buffer_cache;
tend = jit_buffer_cache + (jitter->limit - (char *)buffer);
bp = (char *)jit_buffer_cache;
tend = (char *)jit_buffer_cache + ((char *)jitter->limit - (char *)buffer);
scheme_console_printf(" temporary buffer content: {\n");
while (bp < tend) {
int d = 16;