summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXavier Roche <xroche@users.noreply.github.com>2013-06-24 16:44:15 +0000
committerXavier Roche <xroche@users.noreply.github.com>2013-06-24 16:44:15 +0000
commit99b25bcd847513ddbf3e4841864219ebd848bbc4 (patch)
tree99d878f004016a4a4b4a1796b65279100aef2179 /src
parent74d06310eb33a8ed28095c19e934fee1a21b69c5 (diff)
Fixed warning
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;