From 0a4bedde4329db217d70de281eebb1b1c1d22200 Mon Sep 17 00:00:00 2001 From: Octavian Voicu Date: Sun, 18 Sep 2011 14:40:33 +0300 Subject: [PATCH] vbscript: Add explicit cast to int for pointer difference type. --- dlls/vbscript/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/vbscript/compile.c b/dlls/vbscript/compile.c index 1ff3c409f81..60e4935335a 100644 --- a/dlls/vbscript/compile.c +++ b/dlls/vbscript/compile.c @@ -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");