We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87a1866 commit 3df19c3Copy full SHA for 3df19c3
src/IMG_ImageIO.m
@@ -323,7 +323,7 @@ static CFDictionaryRef CreateHintDictionary(CFStringRef uti_string_hint)
323
if (num_entries > (size_t)palette->ncolors) {
324
num_entries = (size_t)palette->ncolors;
325
}
326
- palette->ncolors = num_entries;
+ palette->ncolors = (int)num_entries;
327
for (i = 0, entry = entries; i < num_entries; ++i) {
328
palette->colors[i].r = entry[0];
329
palette->colors[i].g = entry[1];
0 commit comments