comparison 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
comparison
equal deleted inserted replaced
806:4c8ca536b54f 807:e4773943c9c1
78 pmap = QPixmap(QString(":icons/%1.png").arg(name)); 78 pmap = QPixmap(QString(":icons/%1.png").arg(name));
79 } 79 }
80 } 80 }
81 if (pmap.isNull()) return pmap; 81 if (pmap.isNull()) return pmap;
82 82
83 for (int i = 0; i < sizeof(autoInvertExceptions)/ 83 for (int i = 0; i < int(sizeof(autoInvertExceptions)/
84 sizeof(autoInvertExceptions[0]); ++i) { 84 sizeof(autoInvertExceptions[0])); ++i) {
85 if (autoInvertExceptions[i] == name) { 85 if (autoInvertExceptions[i] == name) {
86 return pmap; 86 return pmap;
87 } 87 }
88 } 88 }
89 89