aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-04-29 08:28:28 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2011-05-04 18:33:07 (GMT)
commit127ec08ae6bffeefedd06b73aea4ee2fa2bd265b (patch)
treee1a6ba6fad5e45de75f7cf00f434c7642b4259d1
parent7618494341d82de89c95ee570d69bf8d263ffa98 (diff)
downloadfluxbox_paul-127ec08ae6bffeefedd06b73aea4ee2fa2bd265b.zip
fluxbox_paul-127ec08ae6bffeefedd06b73aea4ee2fa2bd265b.tar.bz2
Fix "comparison between signed and unsigned" warning
-rw-r--r--util/fluxbox-update_configs.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc
index 37248ce..fe1261c 100644
--- a/util/fluxbox-update_configs.cc
+++ b/util/fluxbox-update_configs.cc
@@ -563,8 +563,7 @@ int run_updates(int old_version, FbTk::ResourceManager &rm) {
563 string appsfilename = FbTk::StringUtil::expandFilename(*rc_appsfile); 563 string appsfilename = FbTk::StringUtil::expandFilename(*rc_appsfile);
564 string keyfilename = FbTk::StringUtil::expandFilename(*rc_keyfile); 564 string keyfilename = FbTk::StringUtil::expandFilename(*rc_keyfile);
565 565
566 int i; 566 for (size_t i = 0; i < sizeof(UPDATES) / sizeof(Update); ++i) {
567 for (i = 0; i < sizeof(UPDATES) / sizeof(Update); ++i) {
568 if (old_version < UPDATES[i].version) { 567 if (old_version < UPDATES[i].version) {
569 UPDATES[i].update(rm, keyfilename, appsfilename); 568 UPDATES[i].update(rm, keyfilename, appsfilename);
570 new_version = UPDATES[i].version; 569 new_version = UPDATES[i].version;