projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db8e720
)
basic: Fix incompatible type for arguments errors in C2X
author
Cristian Rodríguez
<crodriguez@owncloud.com>
Mon, 2 Jan 2023 00:06:57 +0000
(
00:06
+0000)
committer
Luca Boccassi
<bluca@debian.org>
Tue, 3 Jan 2023 14:58:06 +0000
(15:58 +0100)
GCC-13 -std=gnu2x FTBS with:
error: incompatible type for argument 3 of ‘_hashmap_free’
src/basic/hashmap.c
patch
|
blob
|
history
diff --git
a/src/basic/hashmap.c
b/src/basic/hashmap.c
index cdf7db612c8454166d4c216168f40077ae8275ea..322b148b313fee67f9d25422ecb68701bc20d528 100644
(file)
--- 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;
}