--- parser3/src/main/pa_request.C 2001/03/22 17:13:47 1.65 +++ parser3/src/main/pa_request.C 2001/03/22 21:33:33 1.66 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: pa_request.C,v 1.65 2001/03/22 17:13:47 paf Exp $ + $Id: pa_request.C,v 1.66 2001/03/22 21:33:33 paf Exp $ */ #include @@ -368,7 +368,7 @@ void Request::output_result(const String // prepare header: content-length if(content_length) { // useful for redirecting [header "location: http://..."] char content_length_cstr[MAX_NUMBER]; - snprintf(content_length_cstr, MAX_NUMBER, "%d", content_length); + snprintf(content_length_cstr, MAX_NUMBER, "%lu", content_length); (*service_funcs.add_header_attribute)(pool(), "content-length", content_length_cstr); }