]> git.saurik.com Git - wxWidgets.git/commitdiff
Silence warning about truncation since the comment says it ok
authorMichael Wetherell <mike.wetherell@ntlworld.com>
Sun, 27 Nov 2005 01:56:51 +0000 (01:56 +0000)
committerMichael Wetherell <mike.wetherell@ntlworld.com>
Sun, 27 Nov 2005 01:56:51 +0000 (01:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;
 }