]> granicus.if.org Git - apache/commitdiff
Fix compile time warning. AJP protocol method is byte.
authorMladen Turk <mturk@apache.org>
Mon, 31 Jul 2006 09:42:57 +0000 (09:42 +0000)
committerMladen Turk <mturk@apache.org>
Mon, 31 Jul 2006 09:42:57 +0000 (09:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@427059 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/ajp_header.c

index 3054c2c6bdc40c3ccf5532bc003ca01e3ca5b075..4f2773264448ada61f6288d474596c02ab431c10 100644 (file)
@@ -237,7 +237,7 @@ static apr_status_t ajp_marshal_into_msgb(ajp_msg_t *msg,
     ajp_msg_reset(msg);
 
     if (ajp_msg_append_uint8(msg, CMD_AJP13_FORWARD_REQUEST)     ||
-        ajp_msg_append_uint8(msg, method)                        ||
+        ajp_msg_append_uint8(msg, (apr_byte_t) method)           ||
         ajp_msg_append_string(msg, r->protocol)                  ||
         ajp_msg_append_string(msg, uri->path)                    ||
         ajp_msg_append_string(msg, r->connection->remote_ip)     ||