aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription+MCPEntreprise.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/MCPClassDescription+MCPEntreprise.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/MCPClassDescription+MCPEntreprise.m')
-rw-r--r--Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription+MCPEntreprise.m16
1 files changed, 8 insertions, 8 deletions
diff --git a/Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription+MCPEntreprise.m b/Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription+MCPEntreprise.m
index 604290b8..71a25911 100644
--- a/Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription+MCPEntreprise.m
+++ b/Frameworks/MCPKit/MCPEntrepriseKit/MCPClassDescription+MCPEntreprise.m
@@ -38,7 +38,7 @@
{
NSArray *theRet;
NSMutableArray *theKeys =[[NSMutableArray alloc] init];
- unsigned int i;
+ NSUInteger i;
for (i=0; i != [self countOfAttributes]; ++i) {
[theKeys insertObject:[(MCPAttribute *)[self objectInAttributesAtIndex:i] name] atIndex:i];
@@ -50,7 +50,7 @@
- (NSString *) inverseRelationshipKey:(NSString *) relationshipKey
{
- unsigned int index = [self indexOfRelation:relationshipKey];
+ NSUInteger index = [self indexOfRelation:relationshipKey];
if (NSNotFound != index) {
MCPRelation *theRelation;
@@ -65,7 +65,7 @@
{
NSArray *theRet;
NSMutableArray *theToManyRel = [[NSMutableArray alloc] init];
- unsigned int i, j;
+ NSUInteger i, j;
j=0;
for (i=0; i != [self countOfRelations]; ++i) {
@@ -85,7 +85,7 @@
{
NSArray *theRet;
NSMutableArray *theToOneRel = [[NSMutableArray alloc] init];
- unsigned int i, j;
+ NSUInteger i, j;
j=0;
for (i=0; i != [self countOfRelations]; ++i) {
@@ -105,7 +105,7 @@
- (NSArray *) primaryKeyAttributes
{
NSMutableArray *theRet = [NSMutableArray array];
- unsigned int i, j;
+ NSUInteger i, j;
j = 0;
for (i=0; i != [self countOfAttributes]; ++i) {
@@ -122,7 +122,7 @@
- (NSArray *) identityAttributes
{
NSMutableArray *theRet = [NSMutableArray array];
- unsigned int i, j;
+ NSUInteger i, j;
j = 0;
for (i=0; i != [self countOfAttributes]; ++i) {
@@ -144,7 +144,7 @@
return (NSNotFound != index) ? (MCPAttribute *)[self objectInAttributesAtIndex:index] : nil ;
*/
- unsigned int i;
+ NSUInteger i;
for (i = 0; [attributes count] != i; ++i) {
if ([[(MCPAttribute *)[attributes objectAtIndex:i] name] isEqualToString:iName]) {
@@ -161,7 +161,7 @@
return (NSNotFound != index) ? (MCPRelation *)[relations objectAtIndex:index] : nil;
*/
- unsigned int i;
+ NSUInteger i;
for (i = 0; [relations count] != i; ++i) {
if ([[(MCPRelation *)[relations objectAtIndex:i] name] isEqualToString:iRelationName]) {