You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2008/12/27 00:31:48 UTC

svn commit: r729565 - /httpd/sandbox/mod_mbox-3/module-2.0/mod_mbox_mime.c

Author: pquerna
Date: Fri Dec 26 15:31:46 2008
New Revision: 729565

URL: http://svn.apache.org/viewvc?rev=729565&view=rev
Log:
Fix format '%u' expects type 'unsigned int', but argument has type 'apr_size_t

Modified:
    httpd/sandbox/mod_mbox-3/module-2.0/mod_mbox_mime.c

Modified: httpd/sandbox/mod_mbox-3/module-2.0/mod_mbox_mime.c
URL: http://svn.apache.org/viewvc/httpd/sandbox/mod_mbox-3/module-2.0/mod_mbox_mime.c?rev=729565&r1=729564&r2=729565&view=diff
==============================================================================
--- httpd/sandbox/mod_mbox-3/module-2.0/mod_mbox_mime.c (original)
+++ httpd/sandbox/mod_mbox-3/module-2.0/mod_mbox_mime.c Fri Dec 26 15:31:46 2008
@@ -383,7 +383,7 @@
         ap_rputs("</a>", r);
     }
 
-    ap_rprintf(r, " (%s, %s, %u bytes)</li>\n", m->content_disposition,
+    ap_rprintf(r, " (%s, %s, %"APR_SIZE_T_FMT" bytes)</li>\n", m->content_disposition,
 	       mbox_cte_to_char(m->cte), m->body_len);
 
     if (!m->sub) {
@@ -415,13 +415,13 @@
 
     if (m->content_name) {
         ap_rprintf(r, "<part name=\"%s\" cd=\"%s\" cte=\"%s\" "
-		   "length=\"%u\" link=\"%s\" />\n",
+		   "length=\"%"APR_SIZE_T_FMT"\" link=\"%s\" />\n",
 		   m->content_name, m->content_disposition,
 		   mbox_cte_to_char(m->cte), m->body_len, link);
     }
     else {
         ap_rprintf(r, "<part ct=\"%s\" cd=\"%s\" cte=\"%s\" "
-		   "length=\"%u\" link=\"%s\" />\n",
+		   "length=\"%"APR_SIZE_T_FMT"\" link=\"%s\" />\n",
 		   m->content_type, m->content_disposition,
 		   mbox_cte_to_char(m->cte), m->body_len, link);
     }