Update MethodScanner.c

Forgot to convert argv[3] to int