diff options
Diffstat (limited to 'ext/ffi/lib.rs')
-rw-r--r-- | ext/ffi/lib.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs index 4746a5203..05015a45a 100644 --- a/ext/ffi/lib.rs +++ b/ext/ffi/lib.rs @@ -746,9 +746,8 @@ impl From<&NativeType> for fast_api::Type { NativeType::I64 => fast_api::Type::Int64, NativeType::U64 => fast_api::Type::Uint64, NativeType::ISize => fast_api::Type::Int64, - NativeType::USize | NativeType::Function | NativeType::Pointer => { - fast_api::Type::Uint64 - } + NativeType::USize | NativeType::Function => fast_api::Type::Uint64, + NativeType::Pointer => fast_api::Type::TypedArray(fast_api::CType::Uint8), } } } |