diff --git a/examples/cmdline/duk_cmdline.c b/examples/cmdline/duk_cmdline.c index c9fb7d35..7576b766 100644 --- a/examples/cmdline/duk_cmdline.c +++ b/examples/cmdline/duk_cmdline.c @@ -435,7 +435,7 @@ static int handle_file(duk_context *ctx, const char *filename, const char *bytec return -1; } -static int handle_eval(duk_context *ctx, const char *code) { +static int handle_eval(duk_context *ctx, char *code) { int rc; int retval = -1;