Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix more gcc warnings
Baptiste Daroussin committed 12 years ago
commit 6101f91841d640cce6a41721de6754f03de3f88a
parent da3686b
1 file changed +2 -2
modified libpkg/pkg.c
@@ -1242,7 +1242,7 @@ pkg_open2(struct pkg **pkg_p, struct archive **a, struct archive_entry **ae,
		if (!manifest &&
			(flags & PKG_OPEN_MANIFEST_COMPACT) &&
			strcmp(fpath, "+COMPACT_MANIFEST") == 0) {
-
			unsigned char *buffer;
+
			char *buffer;
			manifest = true;

			size_t len = archive_entry_size(*ae);
@@ -1259,7 +1259,7 @@ pkg_open2(struct pkg **pkg_p, struct archive **a, struct archive_entry **ae,
		}
		if (!manifest && strcmp(fpath, "+MANIFEST") == 0) {
			manifest = true;
-
			unsigned char *buffer;
+
			char *buffer;

			size_t len = archive_entry_size(*ae);
			buffer = malloc(len);