mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Tweaks for building with clang
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29254 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cc9250b32e
commit
072c124d08
24 changed files with 106 additions and 54 deletions
|
@ -934,7 +934,10 @@ typedef struct {
|
|||
NSRange range;
|
||||
unsigned int saveScanLocation = _scanLocation;
|
||||
|
||||
skipToNextField();
|
||||
if (skipToNextField() == NO)
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
range.location = _scanLocation;
|
||||
range.length = [string length];
|
||||
if (range.location + range.length > myLength())
|
||||
|
@ -988,7 +991,10 @@ typedef struct {
|
|||
NSRange found;
|
||||
unsigned int saveScanLocation = _scanLocation;
|
||||
|
||||
skipToNextField();
|
||||
if (skipToNextField() == NO)
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
range.location = _scanLocation;
|
||||
range.length = myLength() - _scanLocation;
|
||||
found = [_string rangeOfString: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue