diff options
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'; |