From 6cb5d8eb86fe205ad4f4411e20c206246ff25682 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Sun, 8 Oct 2023 14:02:07 +0900 Subject: fix(ext/ffi): use anybuffer for op_ffi_ptr_of (#20820) Fixes #20817 --- ext/ffi/repr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/ffi') diff --git a/ext/ffi/repr.rs b/ext/ffi/repr.rs index f3bf01310..201df343e 100644 --- a/ext/ffi/repr.rs +++ b/ext/ffi/repr.rs @@ -47,7 +47,7 @@ where #[op2(fast)] pub fn op_ffi_ptr_of( state: &mut OpState, - #[buffer] buf: *const u8, + #[anybuffer] buf: *const u8, ) -> Result<*mut c_void, AnyError> where FP: FfiPermissions + 'static, -- cgit v1.2.3