mapeditor/mainwindow.cpp: In member function
'void MainWindow::onSelectionMade(int, bool)':
mapeditor/mainwindow.cpp:1014:47:
warning: format '%b' expects argument of type 'unsigned int',
but argument 3 has type 'const char*' [-Wformat=]
1014 | auto info = QString::asprintf(
"Selection on layer %d: %b", level, anythingSelected ? "true" : "false");
^~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const char*