Commit Diff


commit - 14af92996aee5b567441c4d2d56d236d8c979bed
commit + 9dd14b990bedd4bcdfc1b21cdb8034be103f574b
blob - fde331d19fb3c439f182eec39b182eb68efe2b4e
blob + debec1726d7defbd2dd5322b460ae1d739329fb3
--- lib/reference.c
+++ lib/reference.c
@@ -1334,7 +1334,7 @@ delete_packed_ref(struct got_reference *delref, struct
 		}
 
 		TAILQ_FOREACH(re, &refs, entry) {
-			uint8_t hex[SHA1_DIGEST_STRING_LENGTH];
+			char hex[SHA1_DIGEST_STRING_LENGTH];
 
 			if (got_sha1_digest_to_str(re->ref->ref.ref.sha1, hex,
 			    sizeof(hex)) == NULL) {