X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=filters.c;fp=filters.c;h=cae3c846ff4a73d55cd63479212643d9f44898fb;hb=7d6c6c53d7283529cc1f7942f898ab4f3768a2f6;hp=973c5d105d4d63da3fb2fdc0487db118586b8e1b;hpb=fc4b3fb95f0c3fad1619b5c7f533632be91d42dc;p=privoxy.git diff --git a/filters.c b/filters.c index 973c5d10..cae3c846 100644 --- a/filters.c +++ b/filters.c @@ -1823,7 +1823,7 @@ static char *execute_external_filter(const struct client_state *csp, */ if ((*size != 0) && fwrite(content, *size, 1, fp) != 1) { - log_error(LOG_LEVEL_ERROR, "fwrite(..., %d, 1, ..) failed: %E", *size); + log_error(LOG_LEVEL_ERROR, "fwrite(..., %lu, 1, ..) failed: %E", *size); unlink(file_name); fclose(fp); return NULL; @@ -1899,7 +1899,7 @@ static char *execute_external_filter(const struct client_state *csp, { log_error(LOG_LEVEL_RE_FILTER, "Executing '%s' resulted in return value %d. " - "Read %d of up to %d bytes.", name, (ret >> 8), new_size, *size); + "Read %lu of up to %lu bytes.", name, (ret >> 8), new_size, *size); } unlink(file_name);