mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-03 13:47:04 +03:00
basic: Fix incompatible type for arguments errors in C2X
GCC-13 -std=gnu2x FTBS with: error: incompatible type for argument 3 of ‘_hashmap_free’ (cherry picked from commit a4a1569ff1e9ab62996f8b42dcc14a09f91b5715) (cherry picked from commit 921bff2f856762c4c98912394f1b6b54ed063bbd) (cherry picked from commit db147b6d2b6ab3b2983ddd8cd0c7b2fa3513f8ab)
This commit is contained in:
parent
560f05d95c
commit
1825219d59
@ -1751,7 +1751,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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user