mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-02-23 03:31:01 +00:00
Fix for issue that breaks GCC build
This commit is contained in:
parent
e0b6cd6725
commit
36ffbfb84b
1 changed files with 3 additions and 2 deletions
|
@ -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]]];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue