Skip to content

Commit

Permalink
Merge pull request #143 from hahnandrew/fix/mismatched-types
Browse files Browse the repository at this point in the history
fix: alias set_acl_category type parameters to support more architectures
  • Loading branch information
dmitrypol authored Dec 6, 2024
2 parents 395b564 + 8625144 commit 5ff3a8d
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 5ff3a8d

Please sign in to comment.