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:
Riccardo Mottola 2013-09-21 23:22:04 +00:00
parent b010cead23
commit f33f962c25
3 changed files with 12 additions and 6 deletions

View file

@ -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

View file

@ -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;
}

View file

@ -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]);