From 57a7e50be71e2677a5cb1a84b5f462d40182dee8 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Fri, 29 Jan 2021 11:48:00 +0100 Subject: [PATCH] common: fix a mismatch between prototype and body It makes gcc-11 complain. --- src/common/uuid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/uuid.c b/src/common/uuid.c index 94fdd737c..da59208fb 100644 --- a/src/common/uuid.c +++ b/src/common/uuid.c @@ -53,7 +53,7 @@ util_uuid_to_string(const uuid_t u, char *buf) * f81d4fae-7dec-11d0-a765-00a0c91e6bf6 */ int -util_uuid_from_string(const char *uuid, struct uuid *ud) +util_uuid_from_string(const char uuid[POOL_HDR_UUID_STR_LEN], struct uuid *ud) { if (strlen(uuid) != 36) { LOG(2, "invalid uuid string"); -- 2.27.0