Skip to content

Commit

Permalink
Fixed warning: Passing 'int *' to parameter of type 'unsigned int * _…
Browse files Browse the repository at this point in the history
…Nullable' converts between pointers to integer types with different sign
  • Loading branch information
ikhvorost committed Jan 21, 2024
1 parent 5dc62c2 commit 5698142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/RegisterModules/RegisterModules.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 5698142

Please sign in to comment.