mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-22 00:58:27 +02:00
Fixed formatting string type mismatches
The "%zd" conversion specification seems to produce no warnings on both 32-bit and 64-bit systems.
This commit is contained in:
parent
90a8d90e49
commit
9394a95a6c
@ -996,7 +996,7 @@ void GMenu2X::editLink() {
|
||||
rename(linkApp->getFile().c_str(),newFileName.c_str());
|
||||
linkApp->renameFile(newFileName);
|
||||
|
||||
INFO("New section index: %i.\n", newSectionIndex - menu->getSections().begin());
|
||||
INFO("New section index: %zd.\n", newSectionIndex - menu->getSections().begin());
|
||||
|
||||
menu->linkChangeSection(menu->selLinkIndex(), menu->selSectionIndex(), newSectionIndex - menu->getSections().begin());
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ bool WallpaperDialog::exec()
|
||||
|
||||
vector<string> wallpapers = fl.getFiles();
|
||||
|
||||
DEBUG("Wallpapers: %i\n", wallpapers.size());
|
||||
DEBUG("Wallpapers: %zd\n", wallpapers.size());
|
||||
|
||||
uint i, selected = 0, firstElement = 0, iY;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user