basic: Fix incompatible type for arguments errors in C2X
GCC-13 -std=gnu2x FTBS with: error: incompatible type for argument 3 of ‘_hashmap_free’
This commit is contained in:
committed by
Luca Boccassi
parent
db8e720984
commit
a4a1569ff1
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user