vbscript: Add explicit cast to int for pointer difference type.

This commit is contained in:
Octavian Voicu 2011-09-18 14:40:33 +03:00 committed by Alexandre Julliard
parent 54c74dc4a2
commit 0a4bedde43
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ static void dump_code(compile_ctx_t *ctx)
instr_t *instr;
for(instr = ctx->code->instrs; instr < ctx->code->instrs+ctx->instr_cnt; instr++) {
TRACE_(vbscript_disas)("%d:\t%s", instr-ctx->code->instrs, instr_info[instr->op].op_str);
TRACE_(vbscript_disas)("%d:\t%s", (int)(instr-ctx->code->instrs), instr_info[instr->op].op_str);
dump_instr_arg(instr_info[instr->op].arg1_type, &instr->arg1);
dump_instr_arg(instr_info[instr->op].arg2_type, &instr->arg2);
TRACE_(vbscript_disas)("\n");