diff options
author | Aapo Alasuutari <aapo.alasuutari@gmail.com> | 2022-07-12 13:44:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-12 16:14:54 +0530 |
commit | 007e1b4bd595b99f5d7b8df08e91354d6e4f0bf2 (patch) | |
tree | 8aa44252b2d75e3cbe88affd84b004008af41c85 /ext/ffi/lib.rs | |
parent | d725cb28ca353b55a575856a76b11630be575ec1 (diff) |
fix(ext/ffi): i64 arg to C mapping was wrong (#15162)
Diffstat (limited to 'ext/ffi/lib.rs')
-rw-r--r-- | ext/ffi/lib.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index eddfed039..737ea9db2 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -673,10 +673,8 @@ impl From<&NativeType> for fast_api::Type { NativeType::F32 => fast_api::Type::Float32, NativeType::F64 => fast_api::Type::Float64, NativeType::Void => fast_api::Type::Void, - NativeType::I64 - | NativeType::ISize - | NativeType::U64 - | NativeType::USize => fast_api::Type::Uint64, + NativeType::I64 | NativeType::ISize => fast_api::Type::Int64, + NativeType::U64 | NativeType::USize => fast_api::Type::Uint64, NativeType::Function | NativeType::Pointer => { panic!("Cannot be fast api") } |