Fix one more missing NSUInteger

This commit is contained in:
Sergey Bugaev 2017-12-16 03:39:08 +03:00
parent da07334af3
commit f9d0726316

View File

@ -154,7 +154,7 @@ static NSLock *_cacheLock=nil;
+(void)removeFontFromCache:(NSFont *)font {
[_cacheLock lock];
unsigned i=[self _cacheIndexOfFontWithName:[font fontName] size:[font pointSize]];
NSUInteger i=[self _cacheIndexOfFontWithName:[font fontName] size:[font pointSize]];
if(i!=NSNotFound)
_fontCache[i]=nil;