httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r893174 - /httpd/test/framework/trunk/c-modules/input_body_filter/mod_input_body_filter.c
Date Tue, 22 Dec 2009 14:19:21 GMT
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 }
 };



Mime
View raw message