commit | 50694be36ec82000a2fd8f419a6cff590605a9a7 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Thu Feb 04 12:09:09 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Thu Feb 04 12:09:09 2021 +0100 |
tree | bcbead968139aec65ab931ba236727c564a0dcf7 | |
parent | acfc9288ef481a498e8ccfd4bef065c34bc82a3e [diff] [blame] |
set BUGFIX use const for non-modified arguments
diff --git a/src/set.c b/src/set.c index 5ed43f4..30f00ee 100644 --- a/src/set.c +++ b/src/set.c
@@ -158,7 +158,7 @@ } API LY_ERR -ly_set_merge(struct ly_set *trg, struct ly_set *src, ly_bool list, void *(*duplicator)(void *obj)) +ly_set_merge(struct ly_set *trg, const struct ly_set *src, ly_bool list, void *(*duplicator)(void *obj)) { uint32_t u; void *obj;