From 9e75edd18c00a0bf56441809a55c3d323480a366 Mon Sep 17 00:00:00 2001 From: Michal Wysoczanski Date: Thu, 30 May 2019 00:08:58 +0200 Subject: [PATCH] Explicitly cast void pointer to const char *. Signed-off-by: Michal Wysoczanski --- inc/ocf_volume.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/ocf_volume.h b/inc/ocf_volume.h index ed1b6b5..e074b5e 100644 --- a/inc/ocf_volume.h +++ b/inc/ocf_volume.h @@ -165,7 +165,7 @@ static inline int ocf_uuid_set_str(ocf_uuid_t uuid, char *str) */ static inline const char *ocf_uuid_to_str(const struct ocf_volume_uuid *uuid) { - return uuid->data; + return (const char *)uuid->data; } /**