diff options
author | Eduardo Chappa <chappa@washington.edu> | 2015-07-26 23:36:30 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2015-07-26 23:36:30 -0600 |
commit | 2695b63fbe6c6a2206a2637137c6cd654f69943a (patch) | |
tree | 717008efdac9ae66bf33985dc99ee68aea45bf11 /pith/filter.c | |
parent | 36b77661542a63c4579943951d143c8cc9c99460 (diff) | |
download | alpine-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.c | 2 |
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'; |