mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
jscript: Add casts to pointer differences in traces.
This commit is contained in:
parent
d76d32411a
commit
0572d81c2d
1 changed files with 2 additions and 2 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue