data tree BUGFIX remove const from used value
diff --git a/src/tree_data.c b/src/tree_data.c
index bbb3e5d..fdc9a1e 100644
--- a/src/tree_data.c
+++ b/src/tree_data.c
@@ -885,7 +885,7 @@
}
API LY_ERR
-lyd_new_any(struct lyd_node *parent, const struct lys_module *module, const char *name, const void *value,
+lyd_new_any(struct lyd_node *parent, const struct lys_module *module, const char *name, void *value,
LYD_ANYDATA_VALUETYPE value_type, ly_bool output, struct lyd_node **node)
{
struct lyd_node *ret = NULL;