Author: tkreuzer
Date: Mon Jul 21 07:15:36 2008
New Revision: 34636
URL:
http://svn.reactos.org/svn/reactos?rev=34636&view=rev
Log:
use %p in sprintf instead of %x / cast to int
Modified:
trunk/reactos/lib/rtl/austin/avl.c
Modified: trunk/reactos/lib/rtl/austin/avl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/rtl/austin/avl.c?rev=3…
==============================================================================
--- trunk/reactos/lib/rtl/austin/avl.c [iso-8859-1] (original)
+++ trunk/reactos/lib/rtl/austin/avl.c [iso-8859-1] Mon Jul 21 07:15:36 2008
@@ -45,7 +45,7 @@
sprintf(buf+i, "Nil\n");
DbgPrint("%s", buf);
} else {
- sprintf(buf+i, "Node %x (parent %x: balance %d)\n", (int)node,
(int)node->parent, node->Balance);
+ sprintf(buf+i, "Node %p (parent %p: balance %d)\n", node, node->parent,
node->Balance);
DbgPrint("%s", buf);
if( node->LeftChild != nil ) {
sprintf(buf+i, "--> Left\n");