data tree BUGFIX remove const from used value
diff --git a/src/tree_data.h b/src/tree_data.h
index 883929e..f93d42f 100644
--- a/src/tree_data.h
+++ b/src/tree_data.h
@@ -891,7 +891,7 @@
  * @param[out] node Optional created node.
  * @return LY_ERR value.
  */
-LY_ERR lyd_new_any(struct lyd_node *parent, const struct lys_module *module, const char *name, const void *value,
+LY_ERR 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);
 
 /**