mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-12-18 01:06:43 +00:00
Fix one more missing NSUInteger
This commit is contained in:
parent
da07334af3
commit
f9d0726316
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user