lib/download.c: unconstify to fix a warning.
This commit is contained in:
parent
b8d22c9091
commit
fbf4ed4d2a
@ -330,7 +330,7 @@ xbps_fetch_delta(struct xbps_handle *xhp, const char *basefile, const char *uri,
|
|||||||
basehash = xbps_file_hash(basefile);
|
basehash = xbps_file_hash(basefile);
|
||||||
assert(basehash);
|
assert(basehash);
|
||||||
|
|
||||||
dname = xbps_xasprintf("%s.%s.vcdiff", basename(uri), basehash);
|
dname = xbps_xasprintf("%s.%s.vcdiff", basename(__UNCONST(uri)), basehash);
|
||||||
durl = xbps_xasprintf("%s.%s.vcdiff", uri, basehash);
|
durl = xbps_xasprintf("%s.%s.vcdiff", uri, basehash);
|
||||||
tempfile = xbps_xasprintf("%s.tmp", filename);
|
tempfile = xbps_xasprintf("%s.tmp", filename);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user