diff options
author | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-21 14:56:18 +0000 |
---|---|---|
committer | nicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-12-21 14:56:18 +0000 |
commit | e6c582ed7f0e5e66ab969b5df41214b8d9ecb3dd (patch) | |
tree | 0a007b1061e13c1efe9e683b79763a5652183aaa /libobjc/init.c | |
parent | 3d997fca368181502fbe9c7ae544ff2a680cade7 (diff) | |
download | gcc-e6c582ed7f0e5e66ab969b5df41214b8d9ecb3dd.tar.gz |
In libobjc/:
2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
* objc-private/common.h: When DEBUG is defined, include <stdio.h>.
Updated comments.
* init.c (__objc_tree_insert_class): Use %p, not %x, when printing
a pointer using DEBUG_PRINTF.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168119 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libobjc/init.c')
-rw-r--r-- | libobjc/init.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libobjc/init.c b/libobjc/init.c index 0e0d372adad..3c64f5bb7ed 100644 --- a/libobjc/init.c +++ b/libobjc/init.c @@ -209,7 +209,7 @@ create_tree_of_subclasses_inherited_from (Class bottom_class, Class upper) static objc_class_tree * __objc_tree_insert_class (objc_class_tree *tree, Class class) { - DEBUG_PRINTF ("__objc_tree_insert_class: tree = %x, class = %s\n", + DEBUG_PRINTF ("__objc_tree_insert_class: tree = %p, class = %s\n", tree, class->name); if (tree == NULL) |