aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-08-26 21:18:28 +0000
committerstuconnolly <stuart02@gmail.com>2009-08-26 21:18:28 +0000
commit63c47d26eeed7e2602e0925cae8e7386963ce695 (patch)
tree99529d48c972af8348f5478930a4116e0cc608b0 /Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m
parent082332ed69b7cfb2d11d1d45b848cb1fc393b3ca (diff)
downloadsequelpro-63c47d26eeed7e2602e0925cae8e7386963ce695.tar.gz
sequelpro-63c47d26eeed7e2602e0925cae8e7386963ce695.tar.bz2
sequelpro-63c47d26eeed7e2602e0925cae8e7386963ce695.zip
Make the MCPkit framework truly 64 bit compatible by using the appropriate data types.
Diffstat (limited to 'Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m')
-rw-r--r--Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m18
1 files changed, 9 insertions, 9 deletions
diff --git a/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m b/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m
index 8ecfda92..085c1114 100644
--- a/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m
+++ b/Frameworks/MCPKit/MCPEntrepriseKit/MCPAttribute.m
@@ -35,7 +35,7 @@
#import "MCPRelation.h"
#import "MCPJoin.h"
-static NSArray *MCPRecognisedInternalType;
+static NSArray *MCPRecognisedInternalType;
@interface MCPAttribute (Private)
@@ -112,7 +112,7 @@ static NSArray *MCPRecognisedInternalType;
[self setInternalType:[decoder decodeObjectForKey:@"MCPinternalType"]];
[self setExternalName:[decoder decodeObjectForKey:@"MCPexternalName"]];
[self setExternalType:[decoder decodeObjectForKey:@"MCPexternalType"]];
- [self setWidth:(unsigned int)[decoder decodeInt32ForKey:@"MCPwidth"]];
+ [self setWidth:(NSUInteger)[decoder decodeInt32ForKey:@"MCPwidth"]];
[self setAllowsNull:[decoder decodeBoolForKey:@"MCPallowsNull"]];
[self setAutoGenerated:[decoder decodeBoolForKey:@"MCPautoGenerated"]];
[self setIsPartOfKey:[decoder decodeBoolForKey:@"MCPisPartOfKey"]];
@@ -231,7 +231,7 @@ static NSArray *MCPRecognisedInternalType;
}
}
-- (void) setWidth:(unsigned int) iWidth
+- (void) setWidth:(NSUInteger) iWidth
{
if (iWidth != width) {
width = iWidth;
@@ -302,12 +302,12 @@ static NSArray *MCPRecognisedInternalType;
}
}
-- (void) insertObject:(MCPJoin *) iJoin inJoinsAtIndex:(unsigned int) index
+- (void) insertObject:(MCPJoin *) iJoin inJoinsAtIndex:(NSUInteger) index
{
[joins insertObject:iJoin atIndex:index];
}
-- (void) removeObjectFromJoinsAtIndex:(unsigned int) index
+- (void) removeObjectFromJoinsAtIndex:(NSUInteger) index
{
[joins removeObjectAtIndex:index];
}
@@ -373,7 +373,7 @@ static NSArray *MCPRecognisedInternalType;
return externalType;
}
-- (unsigned int) width
+- (NSUInteger) width
{
return width;
}
@@ -408,17 +408,17 @@ static NSArray *MCPRecognisedInternalType;
return defaultValue;
}
-- (unsigned int) countOfJoins
+- (NSUInteger) countOfJoins
{
return [joins count];
}
-- (MCPJoin *) objectInJoinsAtIndex:(unsigned int) index
+- (MCPJoin *) objectInJoinsAtIndex:(NSUInteger) index
{
return (MCPJoin *)((NSNotFound != index) ? [joins objectAtIndex:index] : nil);
}
-- (unsigned int) indexOfJoinIdenticalTo:(id) iJoin
+- (NSUInteger) indexOfJoinIdenticalTo:(id) iJoin
{
return [joins indexOfObjectIdenticalTo:iJoin];
}