From 2cc83ab61612db5bfb981be5cb8029fcb2afc079 Mon Sep 17 00:00:00 2001 From: Nikita Zhuk Date: Sat, 4 Jun 2011 10:16:14 +0300 Subject: [PATCH] - Fixed a bug which caused out-of-bounds index exception when code was compiled as 64-bit --- MiscMerge/MiscMergeEngine.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MiscMerge/MiscMergeEngine.m b/MiscMerge/MiscMergeEngine.m index 224c5410..66f02cb9 100755 --- a/MiscMerge/MiscMergeEngine.m +++ b/MiscMerge/MiscMergeEngine.m @@ -466,7 +466,7 @@ - (MiscMergeTemplate *)template "*/ - (void)setMainObject:(id)anObject { - unsigned oldIndex = NSNotFound; + NSUInteger oldIndex = NSNotFound; if (currentObject != nil) {