projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
flush
[m6w6/ext-psi]
/
src
/
libffi.c
diff --git
a/src/libffi.c
b/src/libffi.c
index 1f5bf016a8a714add395b3fb7a0de32b801eda43..369fe3367ba5d46b3c24398e19ed6168503ab8c4 100644
(file)
--- a/
src/libffi.c
+++ b/
src/libffi.c
@@
-88,6
+88,7
@@
static inline ffi_type *psi_ffi_token_type(token_t t) {
case PSI_T_BOOL:
return &ffi_type_uchar;
case PSI_T_INT:
+ case PSI_T_ENUM:
return &ffi_type_sint;
case PSI_T_LONG:
return &ffi_type_slong;