summaryrefslogtreecommitdiff
path: root/pith/filter.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-07-26 23:36:30 -0600
committerEduardo Chappa <chappa@washington.edu>2015-07-26 23:36:30 -0600
commit2695b63fbe6c6a2206a2637137c6cd654f69943a (patch)
tree717008efdac9ae66bf33985dc99ee68aea45bf11 /pith/filter.c
parent36b77661542a63c4579943951d143c8cc9c99460 (diff)
downloadalpine-2695b63fbe6c6a2206a2637137c6cd654f69943a.tar.xz
* Clear even more warnings from clang 3.5 and MAC OSX.
Diffstat (limited to 'pith/filter.c')
-rw-r--r--pith/filter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/filter.c b/pith/filter.c
index 70a89f17..0aa38db5 100644
--- a/pith/filter.c
+++ b/pith/filter.c
@@ -5393,7 +5393,7 @@ html_a_relative(char *base_url, char *rel_url, HANDLE_S *h)
if(len + strlen(rel_path) < sizeof(tmp)-1){
if(len)
- snprintf(path = tmp, sizeof(tmp), "%.*s", len, base_path);
+ snprintf(path = tmp, sizeof(tmp), "%.*s", (int) len, base_path);
strncpy(tmp + len, rel_path, sizeof(tmp)-len);
tmp[sizeof(tmp)-1] = '\0';