Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix size of ucl_type.
Vsevolod Stakhov committed 11 years ago
commit 66204abcda3ee6f8857894b8633897c4a075d049
parent dc25661
1 file changed +2 -2
modified libpkg/pkg_manifest.c
@@ -72,7 +72,7 @@ static int pkg_set_dirs_from_object(struct pkg *, const ucl_object_t *);
static struct manifest_key {
	const char *key;
	int type;
-
	enum ucl_type valid_type;
+
	uint16_t valid_type;
	int (*parse_data)(struct pkg *, const ucl_object_t *, int);
} manifest_keys[] = {
	{ "annotations",         PKG_ANNOTATIONS,         UCL_OBJECT, pkg_obj},
@@ -117,7 +117,7 @@ static struct manifest_key {
};

struct dataparser {
-
	enum ucl_type type;
+
	uint16_t type;
	int (*parse_data)(struct pkg *, const ucl_object_t *, int);
	UT_hash_handle hh;
};