From d89b7c194d77ae14dcdb113ac4ffe79f5515b4ca Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 8 Aug 2010 11:35:49 +0000 Subject: [PATCH] Correct a print format specifier mismatch in wxFileConfig::Parse(). Pass an int and not a size_t to a %d. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/fileconf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/fileconf.cpp b/src/common/fileconf.cpp index 286c03955d..1eabee0e1a 100644 --- a/src/common/fileconf.cpp +++ b/src/common/fileconf.cpp @@ -661,7 +661,7 @@ void wxFileConfig::Parse(const wxTextBuffer& buffer, bool bLocal) // which is exactly what we want. else if ( !bLocal || pEntry->IsLocal() ) { wxLogWarning(_("file '%s', line %d: key '%s' was first found at line %d."), - buffer.GetName(), n + 1, strKey.c_str(), pEntry->Line()); + buffer.GetName(), (int)n + 1, strKey.c_str(), pEntry->Line()); } } -- 2.45.2