mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
use %p in sprintf instead of %x / cast to int
svn path=/trunk/; revision=34636
This commit is contained in:
parent
4e663a7c28
commit
7ac61f4d05
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ void print_node(udict_t *ud, udict_node_t *node, int indent)
|
|||
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");
|
||||
|
|
Loading…
Reference in a new issue