Skip to content

Commit 55534c5

Browse files
committed
Fix warnings about format specifies type
Fix warnings about format specifies type: warning: format specifies type 'void *' but the argument \ has type 'char *' [-Wformat-pedantic] Signed-off-by: Lukasz Dorau <[email protected]>
1 parent f97b6b1 commit 55534c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/provider/provider_devdax_memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ static umf_result_t devdax_open_ipc_handle(void *provider,
493493
LOG_DEBUG("devdax mapped (path: %s, size: %zu, protection: %i, fd: %i, "
494494
"offset: %zu) to address %p",
495495
devdax_ipc_data->path, length_aligned,
496-
devdax_ipc_data->protection, fd, offset_aligned, addr);
496+
devdax_ipc_data->protection, fd, offset_aligned, (void *)addr);
497497

498498
*ptr = addr;
499499

src/provider/provider_file_memory.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ static umf_result_t file_open_ipc_handle(void *provider, void *providerIpcData,
720720
LOG_DEBUG("file mapped (path: %s, size: %zu, protection: %u, visibility: "
721721
"%u, fd: %i, offset: %zu) at address %p",
722722
file_ipc_data->path, size_aligned, file_ipc_data->protection,
723-
file_ipc_data->visibility, fd, offset_aligned, addr);
723+
file_ipc_data->visibility, fd, offset_aligned, (void *)addr);
724724

725725
*ptr = addr;
726726

0 commit comments

Comments
 (0)