Skip to content

Commit

Permalink
(fix): alias type parameters to support multi architecture builds
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Hahn <[email protected]>
  • Loading branch information
hahnandrew committed Dec 1, 2024
1 parent 9eb4a65 commit 8625144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 8625144

Please sign in to comment.