Alexandre Julliard : jscript: Avoid size_t in printf width specifier.

Alexandre Julliard julliard at winehq.org
Wed Apr 22 10:18:51 CDT 2009


Module: wine
Branch: master
Commit: eae1898aae96dc646cf8895411769b0d2f48af18
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=eae1898aae96dc646cf8895411769b0d2f48af18

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Apr 22 15:25:35 2009 +0200

jscript: Avoid size_t in printf width specifier.

---

 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 8ae2152..e79fee4 100644
--- a/dlls/jscript/regexp.c
+++ b/dlls/jscript/regexp.c
@@ -2386,7 +2386,7 @@ SimpleMatch(REGlobalData *gData, REMatchState *x, REOp op,
 
     const char *opname = reop_names[op];
     TRACE("\n%06d: %*s%s\n", pc - gData->regexp->program,
-             gData->stateStackTop * 2, "", opname);
+          (int)gData->stateStackTop * 2, "", opname);
 
     switch (op) {
       case REOP_EMPTY:
@@ -2625,7 +2625,7 @@ ExecuteREBytecode(REGlobalData *gData, REMatchState *x)
     for (;;) {
         const char *opname = reop_names[op];
         TRACE("\n%06d: %*s%s\n", pc - gData->regexp->program,
-                 gData->stateStackTop * 2, "", opname);
+              (int)gData->stateStackTop * 2, "", opname);
 
         if (REOP_IS_SIMPLE(op)) {
             result = SimpleMatch(gData, x, op, &pc, TRUE);




More information about the wine-cvs mailing list