diff --git a/Source/NSTimeZone.m b/Source/NSTimeZone.m index 5e4ec14a8..f8f36d2a4 100644 --- a/Source/NSTimeZone.m +++ b/Source/NSTimeZone.m @@ -1435,7 +1435,7 @@ static NSMapTable *absolutes = 0; bufsize--; } localZoneString - = [NSString stringWithUTF8String: buf length: bufsize]; + = [NSString stringWithCString: buf length: bufsize]; } RegCloseKey(regkey); }