]> git.saurik.com Git - wxWidgets.git/blobdiff - src/regex/regcomp.c
fix wxPowerEvent, wxRichTextEvent and wxWizardEvent so that they pass the runtime...
[wxWidgets.git] / src / regex / regcomp.c
index c634d6b1b983d1abf81c50aab8b58a30b8965217..4ad457ff95a3a526f4489c9dc4c7d31e9d88d995 100644 (file)
@@ -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;
 }