X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=filters.c;h=13cba16af42faec0a7ee1234b6f8349a738d46ea;hp=6945d2f633d5765d524c8c42b1d1af22bdfd08f1;hb=b20a5b341ef99580b3176c1f84d2fd46cefe6558;hpb=f66efec82a6bd567f6eac5a693e5bd0e7307062a diff --git a/filters.c b/filters.c index 6945d2f6..13cba16a 100644 --- a/filters.c +++ b/filters.c @@ -2066,8 +2066,8 @@ static jb_err remove_chunked_transfer_coding(char *buffer, size_t *size) { log_error(LOG_LEVEL_ERROR, "Chunk size %u exceeds buffered data left. " - "Already digested %u of %u buffered bytes.", - chunksize, (unsigned int)newsize, (unsigned int)*size); + "Already digested %lu of %lu buffered bytes.", + chunksize, newsize, *size); return JB_ERR_PARSE; } @@ -2121,7 +2121,8 @@ static jb_err remove_chunked_transfer_coding(char *buffer, size_t *size) } /* XXX: Should get its own loglevel. */ - log_error(LOG_LEVEL_RE_FILTER, "De-chunking successful. Shrunk from %d to %d", *size, newsize); + log_error(LOG_LEVEL_RE_FILTER, + "De-chunking successful. Shrunk from %lu to %lu", *size, newsize); *size = newsize;