summaryrefslogtreecommitdiff
path: root/src/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/url.c')
-rw-r--r--src/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/url.c b/src/url.c
index d62a7e7..2dc47c7 100644
--- a/src/url.c
+++ b/src/url.c
@@ -40,7 +40,7 @@ struct apk_fetch_istream {
static int fetch_maperror(int ec)
{
- static const char map[] = {
+ static const signed short map[] = {
[FETCH_ABORT] = -ECONNABORTED,
[FETCH_AUTH] = -EACCES,
[FETCH_DOWN] = -ECONNREFUSED,