You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@apache.org on 2009/12/22 15:19:21 UTC

svn commit: r893174 - /httpd/test/framework/trunk/c-modules/input_body_filter/mod_input_body_filter.c

Author: trawick
Date: Tue Dec 22 14:19:20 2009
New Revision: 893174

URL: http://svn.apache.org/viewvc?rev=893174&view=rev
Log:
use canonical casting for ap_set_flag_slot()-based directives to fix compile warning

Modified:
    httpd/test/framework/trunk/c-modules/input_body_filter/mod_input_body_filter.c

Modified: httpd/test/framework/trunk/c-modules/input_body_filter/mod_input_body_filter.c
URL: http://svn.apache.org/viewvc/httpd/test/framework/trunk/c-modules/input_body_filter/mod_input_body_filter.c?rev=893174&r1=893173&r2=893174&view=diff
==============================================================================
--- httpd/test/framework/trunk/c-modules/input_body_filter/mod_input_body_filter.c (original)
+++ httpd/test/framework/trunk/c-modules/input_body_filter/mod_input_body_filter.c Tue Dec 22 14:19:20 2009
@@ -167,7 +167,7 @@
 
 static const command_rec input_body_filter_cmds[] = {
     AP_INIT_FLAG("InputBodyFilter", ap_set_flag_slot,
-                 APR_OFFSETOF(input_body_filter_dcfg_t, enabled),
+                 (void *)APR_OFFSETOF(input_body_filter_dcfg_t, enabled),
                  OR_ALL, "Enable input body filter"),
     { NULL }
 };