tweak for 64bit and use of NSUInteger

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@34445 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2012-01-06 15:39:11 +00:00
parent 881f930e36
commit b6e532845f
2 changed files with 7 additions and 7 deletions

View file

@ -267,7 +267,7 @@ extern NSString * const SQLClientDidDisconnectNotification;
/** <override-subclass />
* Returns the object at the specified indes.<br />
*/
- (id) objectAtIndex: (unsigned)index;
- (id) objectAtIndex: (NSUInteger)index;
/**
* Returns the value of the named field.<br />
@ -279,7 +279,7 @@ extern NSString * const SQLClientDidDisconnectNotification;
* Replaces the value at the specified index.<br />
* Subclasses must implement this method.
*/
- (void) replaceObjectAtIndex: (unsigned)index withObject: (id)anObject;
- (void) replaceObjectAtIndex: (NSUInteger)index withObject: (id)anObject;
/**
* Replaces the value of the named field.<br />

View file

@ -433,7 +433,7 @@ static Class rClass = 0;
return nil;
}
- (id) objectAtIndex: (unsigned)index
- (id) objectAtIndex: (NSUInteger)index
{
SUBCLASS_RESPONSIBILITY
return nil;
@ -474,7 +474,7 @@ static Class rClass = 0;
}
}
- (void) replaceObjectAtIndex: (unsigned)index withObject: (id)anObject
- (void) replaceObjectAtIndex: (NSUInteger)index withObject: (id)anObject
{
SUBCLASS_RESPONSIBILITY
}
@ -678,7 +678,7 @@ static Class rClass = 0;
return ptr[pos];
}
- (id) objectAtIndex: (unsigned int)pos
- (id) objectAtIndex: (NSUInteger)pos
{
id *ptr;
@ -714,7 +714,7 @@ static Class rClass = 0;
return nil;
}
- (void) replaceObjectAtIndex: (unsigned)index withObject: (id)anObject
- (void) replaceObjectAtIndex: (NSUInteger)index withObject: (id)anObject
{
id *ptr;
@ -1641,7 +1641,7 @@ static unsigned int maxConnections = 8;
return m;
}
- (void) release
- (oneway void) release
{
/* We lock the table while checking, to prevent
* another thread from grabbing this object while we are