You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by wr...@apache.org on 2007/05/31 23:59:15 UTC

svn commit: r543275 - /apr/apr/branches/1.2.x/strings/apr_snprintf.c

Author: wrowe
Date: Thu May 31 14:59:15 2007
New Revision: 543275

URL: http://svn.apache.org/viewvc?view=rev&rev=543275
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>
Backport: 543274

Modified:
    apr/apr/branches/1.2.x/strings/apr_snprintf.c

Modified: apr/apr/branches/1.2.x/strings/apr_snprintf.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.2.x/strings/apr_snprintf.c?view=diff&rev=543275&r1=543274&r2=543275
==============================================================================
--- apr/apr/branches/1.2.x/strings/apr_snprintf.c (original)
+++ apr/apr/branches/1.2.x/strings/apr_snprintf.c Thu May 31 14:59:15 2007
@@ -1111,7 +1111,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',