From bbde70e3f0c62bda0e3c74a970ec085e46aa9b00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Sun, 10 Apr 2016 14:02:35 -0700 Subject: [PATCH] [ios] Fixed style count assertion --- platform/ios/app/MBXViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/ios/app/MBXViewController.m b/platform/ios/app/MBXViewController.m index f8f2399e2..2102ff270 100644 --- a/platform/ios/app/MBXViewController.m +++ b/platform/ios/app/MBXViewController.m @@ -452,7 +452,7 @@ static const CLLocationCoordinate2D WorldTourDestinations[] = { unsigned numMethods = 0; Method *methods = class_copyMethodList(object_getClass([MGLStyle class]), &numMethods); unsigned numStyleURLMethods = 0; - for (NSUInteger i; i < numMethods; i++) { + for (NSUInteger i = 0; i < numMethods; i++) { Method method = methods[i]; if (method_getNumberOfArguments(method) == 2 /* _cmd, self */) { SEL selector = method_getName(method);