subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hwri...@apache.org
Subject svn commit: r1308527 - /subversion/trunk/tools/server-side/mod_dontdothat/mod_dontdothat.c
Date Mon, 02 Apr 2012 20:12:08 GMT
Author: hwright
Date: Mon Apr  2 20:12:08 2012
New Revision: 1308527

URL: http://svn.apache.org/viewvc?rev=1308527&view=rev
Log:
* tools/server-side/mod_dontdothat/mod_dontdothat.c
  (dontdothat_filter): Cast a integer to remove a size warning.  We cast, since
    the two APIs involved are incongruent.

Modified:
    subversion/trunk/tools/server-side/mod_dontdothat/mod_dontdothat.c

Modified: subversion/trunk/tools/server-side/mod_dontdothat/mod_dontdothat.c
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/mod_dontdothat/mod_dontdothat.c?rev=1308527&r1=1308526&r2=1308527&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/mod_dontdothat/mod_dontdothat.c (original)
+++ subversion/trunk/tools/server-side/mod_dontdothat/mod_dontdothat.c Mon Apr  2 20:12:08
2012
@@ -271,7 +271,7 @@ dontdothat_filter(ap_filter_t *f,
             return rv;
         }
 
-      if (! XML_Parse(ctx->xmlp, str, len, last))
+      if (! XML_Parse(ctx->xmlp, str, (int)len, last))
         {
           /* let_it_go so we clean up our parser, no_soup_for_you so that we
            * bail out before bothering to parse this stuff a second time. */



Mime
View raw message