summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/htscore.c3
1 files changed, 2 insertions, 1 deletions
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;