diff --git a/src/tools/mac/symupload/symupload.mm b/src/tools/mac/symupload/symupload.mm index 24835117..10cf293d 100644 --- a/src/tools/mac/symupload/symupload.mm +++ b/src/tools/mac/symupload/symupload.mm @@ -331,7 +331,7 @@ static void SetupOptions(int argc, const char* argv[], Options* options) { options->force = NO; extern int optind; - char ch; + int ch; while ((ch = getopt(argc, (char* const*)argv, "p:k:t:c:i:hf?")) != -1) { switch (ch) {