diff --git a/qjs.c b/qjs.c index 4a74b5e..6311113 100644 --- a/qjs.c +++ b/qjs.c @@ -371,7 +371,7 @@ static const JSMallocFunctions mi_mf = { #define PROG_NAME "qjs" -void polyfiller(JSContext ctx) { +void polyfiller(JSContext *ctx) { //POLYFILLS FOR QJS FILES BEGIN const char *pf = "globalThis.global = globalThis;\n" "global.console.error = console.log\n"