Updates for 10.5 API changes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@27962 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-02-23 20:42:32 +00:00
parent 845a701069
commit 24d43481a8
138 changed files with 2094 additions and 1536 deletions

View file

@ -476,7 +476,7 @@ static NSDecimalNumber *one;
return [self initWithBytes: &d objCType: "d"];
}
- (id) initWithInt: (signed int)value
- (id) initWithInt: (int)value
{
if (value < 0)
{
@ -547,7 +547,7 @@ static NSDecimalNumber *one;
isNegative: NO];
}
- (id) initWithUnsignedInt: (unsigned int)value
- (id) initWithUnsignedInt: (NSUInteger)value
{
return [self initWithMantissa: value
exponent: 0
@ -769,13 +769,13 @@ static NSDecimalNumber *one;
return [NSDecimalNumber decimalNumberWithDecimal: result];
}
- (NSDecimalNumber*) decimalNumberByRaisingToPower: (unsigned)power
- (NSDecimalNumber*) decimalNumberByRaisingToPower: (NSUInteger)power
{
return [self decimalNumberByRaisingToPower: power
withBehavior: [isa defaultBehavior]];
}
- (NSDecimalNumber*) decimalNumberByRaisingToPower: (unsigned)power
- (NSDecimalNumber*) decimalNumberByRaisingToPower: (NSUInteger)power
withBehavior: (id <NSDecimalNumberBehaviors>)behavior
{
NSDecimal result;