From 0608e0057ff0cf9a19352f2eb712d0130bfa5c8f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 5 Oct 2014 07:38:14 +0200 Subject: [PATCH] lib/repo.c: fix build after aa8d88272ef6. --- lib/repo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/repo.c b/lib/repo.c index 930b2d3e..2d3db5dc 100644 --- a/lib/repo.c +++ b/lib/repo.c @@ -449,7 +449,8 @@ xbps_repo_key_import(struct xbps_repo *repo) xbps_dictionary_t repokeyd = NULL; xbps_data_t pubkey = NULL; uint16_t pubkey_size = 0; - char *hexfp = NULL, *signedby = NULL; + const char *signedby = NULL; + char *hexfp = NULL; char *p, *dbkeyd, *rkeyfile = NULL; int import, rv = 0;