mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-11 08:40:44 +00:00
Avoid compiler warning.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25289 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6f71975c5f
commit
c12455b7ea
1 changed files with 1 additions and 1 deletions
|
@ -1823,7 +1823,7 @@ getCStringE_c(GSStr self, char *buffer, unsigned int maxLength,
|
|||
return YES;
|
||||
}
|
||||
// Fall through to perform conversion to unicode and back
|
||||
if ([self class] == NSConstantStringClass)
|
||||
if ([(id)self class] == NSConstantStringClass)
|
||||
{
|
||||
NSLog(@"Warning: non-ASCII character in string literal");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue