diff widgets/IconLoader.cpp @ 807:e4773943c9c1 warnfix_no_size_t

More unsigned/long and warning fixes
author Chris Cannam
date Tue, 17 Jun 2014 15:55:27 +0100
parents 4ca7562dd246
children 4b5efd76a55c
line wrap: on
line diff
--- a/widgets/IconLoader.cpp	Tue Jun 17 15:36:56 2014 +0100
+++ b/widgets/IconLoader.cpp	Tue Jun 17 15:55:27 2014 +0100
@@ -80,8 +80,8 @@
     }
     if (pmap.isNull()) return pmap;
 
-    for (int i = 0; i < sizeof(autoInvertExceptions)/
-                        sizeof(autoInvertExceptions[0]); ++i) {
+    for (int i = 0; i < int(sizeof(autoInvertExceptions)/
+                            sizeof(autoInvertExceptions[0])); ++i) {
         if (autoInvertExceptions[i] == name) {
             return pmap;
         }