Fix for issue that breaks GCC build

This commit is contained in:
Gregory John Casamento 2023-08-18 06:43:20 -04:00
parent e0b6cd6725
commit 36ffbfb84b

View file

@ -202,12 +202,13 @@ static NSUInteger _count = INT_MAX;
{
NSUInteger l = [self length];
unichar *c = malloc(l * sizeof(unichar));
NSUInteger i = 0;
[self getCharacters: c];
NSString *result = @"";
for (NSUInteger i = 0; i < l; i++)
for (i = 0; i < l; i++)
{
result = [result stringByAppendingString: [NSString stringWithFormat: @"%x", c[i]]];
}