Skip to content

Commit

Permalink
common: DEBUG
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Michalski <[email protected]>
  • Loading branch information
janekmi committed Jan 27, 2025
1 parent ac0a05c commit ac15b34
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libpmem/libpmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,9 @@ pmem_log_get_threshold(enum pmem_log_threshold threshold,
int
pmem_log_set_function(pmem_log_function *log_function)
{
#pragma CLANG diagnostic push
#pragma CLANG diagnostic ignored "-Wcast-function-type-strict"
int ret = core_log_set_function((core_log_function *)log_function);
return core_log_error_translate(ret);
#pragma CLANG diagnostic pop
}

0 comments on commit ac15b34

Please sign in to comment.