]> git.saurik.com Git - wxWidgets.git/commitdiff
int argument/unsigned int arg warning fix
authorRyan Norton <wxprojects@comcast.net>
Thu, 17 Feb 2005 10:17:04 +0000 (10:17 +0000)
committerRyan Norton <wxprojects@comcast.net>
Thu, 17 Feb 2005 10:17:04 +0000 (10:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/config.cpp

index a0c3a75738bb00bdeef6e92426e53ca7c90f0368..d346b50bff03f9b68fdae2d21876216691484082 100644 (file)
@@ -380,8 +380,8 @@ wxString wxExpandEnvVars(const wxString& str)
               // under Unix, OTOH, this warning could be useful for the user to
               // understand why isn't the variable expanded as intended
               #ifndef __WXMSW__
-                wxLogWarning(_("Environment variables expansion failed: missing '%c' at position %d in '%s'."),
-                             (char)bracket, m + 1, str.c_str());
+                wxLogWarning(_("Environment variables expansion failed: missing '%c' at position %u in '%s'."),
+                             (char)bracket, (unsigned int) (m + 1), str.c_str());
               #endif // __WXMSW__
             }
             else {