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:58:27 UTC

svn commit: r543274 - /apr/apr/trunk/strings/apr_snprintf.c

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 <da...@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',