From 86251442e01ba9c12b1b11d3a5ff83b3012685ba Mon Sep 17 00:00:00 2001 From: Andrew Hahn Date: Sun, 1 Dec 2024 15:54:12 +0900 Subject: [PATCH] (fix): alias type parameters to support multi architecture builds Signed-off-by: Andrew Hahn --- src/context/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/context/mod.rs b/src/context/mod.rs index 97862e7..d980ae4 100644 --- a/src/context/mod.rs +++ b/src/context/mod.rs @@ -499,7 +499,7 @@ impl Context { feature = "min-redis-compatibility-version-7-2", feature = "min-valkey-compatibility-version-8-0" ),))] - pub fn set_acl_category(&self, command_name: *const i8, acl_flags: *const i8) -> raw::Status { + pub fn set_acl_category(&self, command_name: *const c_char, acl_flags: *const c_char) -> raw::Status { unsafe { let command = raw::RedisModule_GetCommand.unwrap()(self.ctx, command_name); raw::RedisModule_SetCommandACLCategories.unwrap()(command, acl_flags).into()