X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-psi;a=blobdiff_plain;f=src%2Flibffi.c;h=1569693ee559e883e0c573de46f39124dc768281;hp=2ba48319c0d9a8c28f5c47ffa4aa57613c0d7b42;hb=440ff658995f1378fd74c0101ff6c2b4951ffdf9;hpb=4bee5440cea39ab77bdbe025b9669f7c73424d72 diff --git a/src/libffi.c b/src/libffi.c index 2ba4831..1569693 100644 --- a/src/libffi.c +++ b/src/libffi.c @@ -132,11 +132,8 @@ static inline ffi_type *psi_ffi_token_type(token_t t) { return &ffi_type_uint64; 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; case PSI_T_FLOAT: return &ffi_type_float; case PSI_T_DOUBLE: