--- parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/04/07 14:23:37 1.22 +++ parser3/src/targets/apache13/modules/extra/Attic/mod_parser3.C 2001/04/09 14:02:03 1.25 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: mod_parser3.C,v 1.22 2001/04/07 14:23:37 paf Exp $ + $Id: mod_parser3.C,v 1.25 2001/04/09 14:02:03 paf Exp $ */ #include "httpd.h" @@ -87,7 +87,7 @@ const char *SAPI::get_env(Pool& pool, co return (const char *)ap_table_get(r->subprocess_env, name); } -uint SAPI::read_post(Pool& pool, char *buf, uint max_bytes) { +size_t SAPI::read_post(Pool& pool, char *buf, size_t max_bytes) { request_rec *r=static_cast(pool.context()); /* ap_log_error(APLOG_MARK, APLOG_DEBUG, r->server, @@ -221,7 +221,7 @@ static int parser_handler(request_rec *r // prepare header SAPI::add_header_attribute(pool, "content-type", "text/plain"); char content_length_cstr[MAX_NUMBER]; - snprintf(content_length_cstr, MAX_NUMBER, "%lu", content_length); + snprintf(content_length_cstr, MAX_NUMBER, "%u", content_length); SAPI::add_header_attribute(pool, "content-length", content_length_cstr); // send header