httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r312985 - in /httpd/apreq/trunk: CHANGES include/apreq_util.h include/apreq_version.h
Date Wed, 12 Oct 2005 00:52:36 GMT
Author: joes
Date: Tue Oct 11 17:52:31 2005
New Revision: 312985

URL: http://svn.apache.org/viewcvs?rev=312985&view=rev
Log:
Add explicit cast in apreq_escape()/apreq_util.h to keep
C++ compilers happy.

Submitted by: Ville Skytta
Reviewed by: joes

Modified:
    httpd/apreq/trunk/CHANGES
    httpd/apreq/trunk/include/apreq_util.h
    httpd/apreq/trunk/include/apreq_version.h

Modified: httpd/apreq/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/CHANGES?rev=312985&r1=312984&r2=312985&view=diff
==============================================================================
--- httpd/apreq/trunk/CHANGES (original)
+++ httpd/apreq/trunk/CHANGES Tue Oct 11 17:52:31 2005
@@ -5,6 +5,10 @@
 @section v2_07 Changes with libapreq2-2.07
 
 
+- C API [Ville Skyttä, Dirk Nehring]
+  Add explicit cast in apreq_escape()/apreq_util.h to keep
+  C++ compilers happy.
+
 - C API [joes]
   Protect against arbitrary recursion depth in apreq_parse_multipart()
   by adding a reasonable compile-time MAX_LEVEL limit.

Modified: httpd/apreq/trunk/include/apreq_util.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_util.h?rev=312985&r1=312984&r2=312985&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq_util.h (original)
+++ httpd/apreq/trunk/include/apreq_util.h Tue Oct 11 17:52:31 2005
@@ -208,7 +208,7 @@
     if (src == NULL)
         return NULL;
 
-    rv = apr_palloc(p, 3 * slen + 1);
+    rv = (char *)apr_palloc(p, 3 * slen + 1);
     apreq_encode(rv, src, slen);
     return rv;
 }

Modified: httpd/apreq/trunk/include/apreq_version.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_version.h?rev=312985&r1=312984&r2=312985&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq_version.h (original)
+++ httpd/apreq/trunk/include/apreq_version.h Tue Oct 11 17:52:31 2005
@@ -61,7 +61,7 @@
 #define APREQ_MINOR_VERSION       5
 
 /** patch level */
-#define APREQ_PATCH_VERSION       4
+#define APREQ_PATCH_VERSION       5
 
 /**
  *  This symbol is defined for internal, "development" copies of libapreq.



Mime
View raw message