From 9cee4b4d27271d54b95f6f42bfdc534ebeaaeb72 Mon Sep 17 00:00:00 2001 From: ftk Date: Thu, 21 Jul 2022 18:04:43 +0300 Subject: [PATCH] fix getclassid patch (JSValue->JSValueConst) from c57f5026d96a74857ef8ce6b19262423524979b4 --- quickjs/patches/getclassid.patch | 2 +- quickjs/quickjs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quickjs/patches/getclassid.patch b/quickjs/patches/getclassid.patch index 991f749e8a..bfe6f218fa 100644 --- a/quickjs/patches/getclassid.patch +++ b/quickjs/patches/getclassid.patch @@ -7,7 +7,7 @@ index 48aeffc62..8afc4caa1 100644 #endif } + -+JSClassID JS_GetClassID(JSValue v) ++JSClassID JS_GetClassID(JSValueConst v) +{ + JSObject *p; + diff --git a/quickjs/quickjs.c b/quickjs/quickjs.c index 52fc23940f..1984561a0e 100644 --- a/quickjs/quickjs.c +++ b/quickjs/quickjs.c @@ -54083,7 +54083,7 @@ void JS_AddIntrinsicTypedArrays(JSContext *ctx) #endif } -JSClassID JS_GetClassID(JSValue v) +JSClassID JS_GetClassID(JSValueConst v) { JSObject *p;