diff --git a/mach/proto/mcg/main.c b/mach/proto/mcg/main.c index 9c863b8ad..5789a1379 100644 --- a/mach/proto/mcg/main.c +++ b/mach/proto/mcg/main.c @@ -58,7 +58,7 @@ int main(int argc, char* const argv[]) symbol_init(); - if (!EM_open(inputfile)) + if (!EM_open((char*) inputfile)) fatal("couldn't open '%s': %s", inputfile ? inputfile : "", EM_error);