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 ac15b34 commit e90091c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/libpmem/libpmem.c
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +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"
#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
#pragma clang diagnostic pop
}

0 comments on commit e90091c

Please sign in to comment.