diff options
Diffstat (limited to 'Source/SPUserManager.m')
-rw-r--r-- | Source/SPUserManager.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPUserManager.m b/Source/SPUserManager.m index 89a52168..369cbbc7 100644 --- a/Source/SPUserManager.m +++ b/Source/SPUserManager.m @@ -273,7 +273,7 @@ [results dataSeek:0]; } - for (int i = 0; i < [results numOfRows]; i++) { + for (NSInteger i = 0; i < [results numOfRows]; i++) { [schemas addObject:[results fetchRowAsDictionary]]; } @@ -339,7 +339,7 @@ [queryResults dataSeek:0]; } - for (int i = 0; i < [queryResults numOfRows]; i++) { + for (NSInteger i = 0; i < [queryResults numOfRows]; i++) { NSDictionary *rowDict = [queryResults fetchRowAsDictionary]; NSManagedObject *dbPriv = [NSEntityDescription insertNewObjectForEntityForName:@"Privileges" inManagedObjectContext:[self managedObjectContext]]; |