mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
avoid compiler warning
This commit is contained in:
parent
ed4e305026
commit
7cf59e475a
1 changed files with 2 additions and 1 deletions
|
@ -3945,8 +3945,9 @@ GSICUCollatorOpen(NSStringCompareOptions mask, NSLocale *locale)
|
|||
{
|
||||
unsigned index;
|
||||
SEL sel = @selector(characterAtIndex:);
|
||||
unichar (*imp)() = (unichar (*)())[self methodForSelector: sel];
|
||||
unichar (*imp)(id,SEL,unsigned);
|
||||
|
||||
imp = (unichar (*)(id,SEL,unsigned))[self methodForSelector: sel];
|
||||
for (index = 0; index < length; index++)
|
||||
{
|
||||
unichar c = (*imp)(self, sel, index);
|
||||
|
|
Loading…
Reference in a new issue