diff --git a/Sources/RegisterModules/RegisterModules.m b/Sources/RegisterModules/RegisterModules.m index e90db7b..1f4fc77 100644 --- a/Sources/RegisterModules/RegisterModules.m +++ b/Sources/RegisterModules/RegisterModules.m @@ -36,7 +36,7 @@ static void registerModules(void) { for (int i = 0; i < numClasses; i++) { Class class = classes[i]; - int numMethods = 0; + unsigned int numMethods = 0; Method *methods = class_copyMethodList(object_getClass(class), &numMethods); for (int j = 0; j < numMethods; j++) { Method method = methods[j];