mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-15 16:11:25 +00:00
Transition count/length variables to NSUInteger
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@37132 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b010cead23
commit
f33f962c25
3 changed files with 12 additions and 6 deletions
|
@ -1,3 +1,9 @@
|
|||
2013-09-21 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Modules/Parsers/ProjectCenter/PCParser.h
|
||||
* Modules/Parsers/ProjectCenter/PCParser.m
|
||||
Transition count/length variables to NSUInteger
|
||||
|
||||
2013-09-21 Riccardo Mottola <rm@gnu.org>
|
||||
|
||||
* Modules/Parsers/ProjectCenter/PCParser.m
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/*
|
||||
** CodeParser.h
|
||||
**
|
||||
** Copyright (c) 2003
|
||||
** Copyright (c) 2003-2013
|
||||
**
|
||||
** Author: Yen-Ju <yjchenx@hotmail.com>
|
||||
**
|
||||
|
@ -35,7 +35,7 @@
|
|||
{
|
||||
id <CodeHandler> _handler;
|
||||
NSString *_string;
|
||||
unsigned int _length;
|
||||
NSUInteger _length;
|
||||
unichar *_uchar;
|
||||
}
|
||||
|
||||
|
|
|
@ -126,7 +126,7 @@ CodeType codeType(unichar *ch)
|
|||
|
||||
- (void)parse
|
||||
{
|
||||
unsigned int i, start, end;
|
||||
NSUInteger i, start, end;
|
||||
CodeType startType;
|
||||
NSString *out;
|
||||
SEL selString = @selector(string:);
|
||||
|
@ -179,7 +179,7 @@ CodeType codeType(unichar *ch)
|
|||
}
|
||||
else if (startType == SpaceAndNewLineCodeType)
|
||||
{
|
||||
unsigned int j, jlen = end-start/*[out length]*/;
|
||||
NSUInteger j, jlen = end-start/*[out length]*/;
|
||||
for (j = 0; j < jlen; j++)
|
||||
{
|
||||
(*impSpaceAndNewLine)(_handler,
|
||||
|
@ -188,7 +188,7 @@ CodeType codeType(unichar *ch)
|
|||
}
|
||||
else if (startType == SymbolCodeType)
|
||||
{
|
||||
unsigned int j, jlen = end-start/*[out length]*/;
|
||||
NSUInteger j, jlen = end-start/*[out length]*/;
|
||||
for (j = 0; j < jlen; j++)
|
||||
{
|
||||
(*impSymbol)(_handler, selSymbol, _uchar[start+j]);
|
||||
|
@ -196,7 +196,7 @@ CodeType codeType(unichar *ch)
|
|||
}
|
||||
else if (startType == InvisibleCodeType)
|
||||
{
|
||||
unsigned int j, jlen = end-start/*[out length]*/;
|
||||
NSUInteger j, jlen = end-start/*[out length]*/;
|
||||
for (j = 0; j < jlen; j++)
|
||||
{
|
||||
(*impInvisible)(_handler, selInvisible, _uchar[start+j]);
|
||||
|
|
Loading…
Reference in a new issue