X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17aa28a91b881060b4f2fe78c929dcc93da426bf..88c139da4639cd25e4ad1298062e1e8b19ee29f1:/src/regex/regcomp.c diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c index c634d6b1b9..4ad457ff95 100644 --- a/src/regex/regcomp.c +++ b/src/regex/regcomp.c @@ -2168,7 +2168,7 @@ size_t bufsize; if (t->retry != 0) sprintf(buf, "%d", t->retry); else - sprintf(buf, "0x%x", (int)t); /* may lose bits, that's okay */ + sprintf(buf, "0x%x", (int)(wxUIntPtr)(t)); /* may lose bits, that's okay */ return buf; }