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
This commit is contained in:
@@ -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());
|
||||
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user