data tree BUGFIX wrong variable type

Fixes #234
diff --git a/src/tree_data.h b/src/tree_data.h
index f6c9c38..393982d 100644
--- a/src/tree_data.h
+++ b/src/tree_data.h
@@ -212,7 +212,7 @@
     /* leaflist's specific members */
     const char *value_str;           /**< string representation of value (for comparison, printing,...), always corresponds to value_type */
     lyd_val value;                   /**< node's value representation, always corresponds to schema->type.base */
-    LY_DATA_TYPE value_type;         /**< type of the value in the node, mainly for union to avoid repeating of type detection,
+    uint16_t value_type;             /**< type of the value in the node, mainly for union to avoid repeating of type detection,
                                           if (schema->type.base == LY_TYPE_LEAFREF), then value_type may be
                                           (LY_TYPE_LEAFREF_UNRES | leafref target value_type) and (value.leafref == NULL) */
 };