Alexandre Julliard : jscript: Add casts to pointer differences in traces.
Alexandre Julliard
julliard at winehq.org
Fri Apr 9 11:49:56 CDT 2010
Module: wine
Branch: master
Commit: 0572d81c2d7cd30c84189a07da79c8fed91d089f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=0572d81c2d7cd30c84189a07da79c8fed91d089f
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Apr 9 16:14:28 2010 +0200
jscript: Add casts to pointer differences in traces.
---
dlls/jscript/regexp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/jscript/regexp.c b/dlls/jscript/regexp.c
index 0457545..e895603 100644
--- a/dlls/jscript/regexp.c
+++ b/dlls/jscript/regexp.c
@@ -2384,7 +2384,7 @@ SimpleMatch(REGlobalData *gData, REMatchState *x, REOp op,
RECharSet *charSet;
const char *opname = reop_names[op];
- TRACE("\n%06d: %*s%s\n", pc - gData->regexp->program,
+ TRACE("\n%06d: %*s%s\n", (int)(pc - gData->regexp->program),
(int)gData->stateStackTop * 2, "", opname);
switch (op) {
@@ -2623,7 +2623,7 @@ ExecuteREBytecode(REGlobalData *gData, REMatchState *x)
for (;;) {
const char *opname = reop_names[op];
- TRACE("\n%06d: %*s%s\n", pc - gData->regexp->program,
+ TRACE("\n%06d: %*s%s\n", (int)(pc - gData->regexp->program),
(int)gData->stateStackTop * 2, "", opname);
if (REOP_IS_SIMPLE(op)) {
More information about the wine-cvs
mailing list