diff options
Diffstat (limited to 'Source/NSMutableArray-MultipleSort.m')
-rw-r--r-- | Source/NSMutableArray-MultipleSort.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/NSMutableArray-MultipleSort.m b/Source/NSMutableArray-MultipleSort.m index f98732b7..e76f1409 100644 --- a/Source/NSMutableArray-MultipleSort.m +++ b/Source/NSMutableArray-MultipleSort.m @@ -15,17 +15,17 @@ @implementation NSMutableArray(MultipleSort) - (void)sortArrayUsingSelector:(SEL)comparator withPairedMutableArrays:(NSMutableArray *)array1, ... { - unsigned int stride = 1; + NSUInteger stride = 1; BOOL found = NO; - unsigned int count = [self count]; - unsigned int d; + NSUInteger count = [self count]; + NSUInteger d; while (stride <= count) stride = stride * STRIDE_FACTOR + 1; while (stride > (STRIDE_FACTOR - 1)) { stride = stride / STRIDE_FACTOR; - for (unsigned int c = stride; c < count; c++) { + for (NSUInteger c = stride; c < count; c++) { found = NO; if (stride > c) break; |