Silence warning about truncation since the comment says it ok
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2168,7 +2168,7 @@ size_t bufsize;
|
|||||||
if (t->retry != 0)
|
if (t->retry != 0)
|
||||||
sprintf(buf, "%d", t->retry);
|
sprintf(buf, "%d", t->retry);
|
||||||
else
|
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;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user