aboutsummaryrefslogtreecommitdiffstats
path: root/Source/NSMutableArray-MultipleSort.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-01-09 01:38:23 +0000
committerrowanbeentje <rowan@beent.je>2010-01-09 01:38:23 +0000
commit9004533ba1d84d670a77cbfc9eae401b66e9dd0e (patch)
tree8d16781c788a964e45102b66ffc04b77fa1fb9e9 /Source/NSMutableArray-MultipleSort.m
parentfcb6ce6cbb0bd4179e22a3dd17dd12e4a3529cdd (diff)
downloadsequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.tar.gz
sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.tar.bz2
sequelpro-9004533ba1d84d670a77cbfc9eae401b66e9dd0e.zip
- Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for release builds, including a large number of 64bit compatibility upgrades and tweaks
- Upgrade RegexKitLite to 3.3
Diffstat (limited to 'Source/NSMutableArray-MultipleSort.m')
-rw-r--r--Source/NSMutableArray-MultipleSort.m8
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;