render_map: whoops, gotta match the type of format specifier
1 files changed, 1 insertions(+), 1 deletions(-) M tool_map.cpp
M tool_map.cpp +1 -1
@@ 296,7 296,7 @@ bool MapPicker::render_map(Data* data, i auto value = progress.GetValue(); double max = progress.GetRange(); auto msg = progress.GetMessage(); - msg.Printf(wxT("Rendering maps... %d%%"), value/max*100); + msg.Printf(wxT("Rendering maps... %d%%"), static_cast<int>(value/max*100 + 0.5) ); progress.Update(value + 1, msg); }