From: Ryan Norton Date: Thu, 17 Feb 2005 10:17:04 +0000 (+0000) Subject: int argument/unsigned int arg warning fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c6d60564cb1586ea3087696920945e5985641128 int argument/unsigned int arg warning fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/config.cpp b/src/common/config.cpp index a0c3a75738..d346b50bff 100644 --- a/src/common/config.cpp +++ b/src/common/config.cpp @@ -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 {