From 99b25bcd847513ddbf3e4841864219ebd848bbc4 Mon Sep 17 00:00:00 2001 From: Xavier Roche Date: Mon, 24 Jun 2013 16:44:15 +0000 Subject: Fixed warning --- src/htscore.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/htscore.c b/src/htscore.c index 5170148..2442524 100644 --- a/src/htscore.c +++ b/src/htscore.c @@ -452,7 +452,8 @@ int httpmirror(char *url1, httrackp * opt) { // initialiser hachage hash_init(&hash); - hash.liens = liens; + // note: we need a cast because of the const + hash.liens = (const lien_url **) liens; // we need it opt->liens = liens; -- cgit v1.2.3