about summary refs log tree commit diff stats
path: root/src/bindings
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-09-14 19:33:27 +0200
committerbptato <nincsnevem662@gmail.com>2022-09-14 19:33:27 +0200
commitcea4aa0374a2f8c1df40a30060c34de8ce257090 (patch)
tree3958c7d17de112fdad163d20a4f58a7fe9da8533 /src/bindings
parent51d83224320b8bd4e81332802bb62158ae6deec5 (diff)
downloadchawan-cea4aa0374a2f8c1df40a30060c34de8ce257090.tar.gz
Tweaks/bugfixes for arm
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/quickjs.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/quickjs.nim b/src/bindings/quickjs.nim
index 4a1ad639..661b08b6 100644
--- a/src/bindings/quickjs.nim
+++ b/src/bindings/quickjs.nim
@@ -118,7 +118,7 @@ type
 
   JSClassDefConst* {.importc: "const JSClassDef *", header: qjsheader.} = ptr JSClassDef
 
-  JSCFunctionEnum* {.size: sizeof(cint).} = enum
+  JSCFunctionEnum* {.size: sizeof(uint8).} = enum
     JS_CFUNC_generic, JS_CFUNC_generic_magic, JS_CFUNC_constructor,
     JS_CFUNC_constructor_magic, JS_CFUNC_constructor_or_func,
     JS_CFUNC_constructor_or_func_magic, JS_CFUNC_f_f, JS_CFUNC_f_f_f,