diff --git a/Source/NSFontManager.m b/Source/NSFontManager.m index 75154d19b..c7d700fcd 100644 --- a/Source/NSFontManager.m +++ b/Source/NSFontManager.m @@ -376,7 +376,7 @@ static Class fontPanelClass = Nil; - (NSFont*) convertFont: (NSFont*)fontObject { NSFont *newFont = fontObject; - unsigned int i; + int i; float size; float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 16.0, 18.0, 24.0, 36.0, 48.0, 64.0}; @@ -1083,7 +1083,7 @@ static Class fontPanelClass = Nil; - (NSDictionary *) convertAttributes: (NSDictionary *)attributes { NSMutableDictionary *newAttributes; - unsigned int i; + int i; float size; float sizes[] = {4.0, 6.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 16.0, 18.0, 24.0, 36.0, 48.0, 64.0};