-Wformat warning on HistoryController.cpp:295:5