apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r543274 - /apr/apr/trunk/strings/apr_snprintf.c
Date Thu, 31 May 2007 21:58:27 GMT
Author: wrowe
Date: Thu May 31 14:58:26 2007
New Revision: 543274

URL: http://svn.apache.org/viewvc?view=rev&rev=543274
Log:
APR_VOID_P_IS_QUAD is not defined anywhere and the usual way is
using APR_SIZEOF_VOIDP. 

PR: 40758
Submitted by: Davi Arnaut <davi@haxent.com.br>

Modified:
    apr/apr/trunk/strings/apr_snprintf.c

Modified: apr/apr/trunk/strings/apr_snprintf.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/strings/apr_snprintf.c?view=diff&rev=543274&r1=543273&r2=543274
==============================================================================
--- apr/apr/trunk/strings/apr_snprintf.c (original)
+++ apr/apr/trunk/strings/apr_snprintf.c Thu May 31 14:58:26 2007
@@ -1120,7 +1120,7 @@
                  * don't handle "%p".
                  */
                 case 'p':
-#ifdef APR_VOID_P_IS_QUAD
+#if APR_SIZEOF_VOIDP == 8
                     if (sizeof(void *) <= sizeof(u_widest_int)) {
                         ui_quad = (u_widest_int) va_arg(ap, void *);
                         s = conv_p2_quad(ui_quad, 4, 'x',



Mime
View raw message