From 87e004e4a92e825358e7b4e9c1c5e942146dc07f Mon Sep 17 00:00:00 2001 From: David Given Date: Wed, 5 Oct 2016 23:55:04 +0200 Subject: [PATCH] Warning fix. --- mach/proto/mcg/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);