diff options
author | Andrey Hristov <andrey@php.net> | 1999-07-17 20:03:10 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 1999-07-17 20:03:10 +0000 |
commit | 3335c8ea0da0fb6f5be77cb57980fcaa4b0daaf5 (patch) | |
tree | 96b98c74e1201b124f0bf14111411f54b83017a3 /ext/apache | |
parent | 45183516482766c2a056d7f92b4ebdf9bf50dfa6 (diff) | |
download | php-git-3335c8ea0da0fb6f5be77cb57980fcaa4b0daaf5.tar.gz |
-Kill compile warnings in apache.c
-Make preg_grep() work with copies of array entries
Diffstat (limited to 'ext/apache')
-rw-r--r-- | ext/apache/apache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/apache/apache.c b/ext/apache/apache.c index d80d2cbfa8..6b35ae52fe 100644 --- a/ext/apache/apache.c +++ b/ext/apache/apache.c @@ -362,10 +362,10 @@ PHP_FUNCTION(apache_lookup_uri) add_property_string(return_value,"the_request",rr->the_request,1); } if (rr->status_line) { - add_property_string(return_value,"status_line",rr->status_line,1); + add_property_string(return_value,"status_line",(char *)rr->status_line,1); } if (rr->method) { - add_property_string(return_value,"method",rr->method,1); + add_property_string(return_value,"method",(char *)rr->method,1); } if (rr->content_type) { add_property_string(return_value,"content_type",(char *)rr->content_type,1); |