diff --git a/src/gmenu2x.cpp b/src/gmenu2x.cpp index 8e710d3..ffdbb70 100644 --- a/src/gmenu2x.cpp +++ b/src/gmenu2x.cpp @@ -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()); } diff --git a/src/wallpaperdialog.cpp b/src/wallpaperdialog.cpp index 4fd0365..079fa2d 100644 --- a/src/wallpaperdialog.cpp +++ b/src/wallpaperdialog.cpp @@ -57,7 +57,7 @@ bool WallpaperDialog::exec() vector wallpapers = fl.getFiles(); - DEBUG("Wallpapers: %i\n", wallpapers.size()); + DEBUG("Wallpapers: %zd\n", wallpapers.size()); uint i, selected = 0, firstElement = 0, iY;