From: Cristian Rodríguez Date: Mon, 2 Jan 2023 00:06:57 +0000 (+0000) Subject: basic: Fix incompatible type for arguments errors in C2X X-Git-Tag: v253-rc1~197^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4a1569ff1e9ab62996f8b42dcc14a09f91b5715;p=thirdparty%2Fsystemd.git basic: Fix incompatible type for arguments errors in C2X GCC-13 -std=gnu2x FTBS with: error: incompatible type for argument 3 of ‘_hashmap_free’ --- diff --git a/src/basic/hashmap.c b/src/basic/hashmap.c index cdf7db612c8..322b148b313 100644 --- a/src/basic/hashmap.c +++ b/src/basic/hashmap.c @@ -1753,7 +1753,7 @@ HashmapBase* _hashmap_copy(HashmapBase *h HASHMAP_DEBUG_PARAMS) { } if (r < 0) - return _hashmap_free(copy, false, false); + return _hashmap_free(copy, NULL, NULL); return copy; }