summaryrefslogtreecommitdiff
path: root/parseutils.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:12:22 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:12:22 -0800
commit33b5c9413463613d341d15184b34a4f4c4e70e56 (patch)
treeac7a07d784497189d16e339a3d901191128e4427 /parseutils.c
parentb9f6482d5fc413222334c2370ef8b9693f4b50fd (diff)
Fix -Wformat warnings
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'parseutils.c')
-rw-r--r--parseutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/parseutils.c b/parseutils.c
index ca665e2..253cd9d 100644
--- a/parseutils.c
+++ b/parseutils.c
@@ -748,12 +748,12 @@ IncludeCreate(char *str, unsigned merge)
void
PrintStmtAddrs(ParseCommon * stmt)
{
- fprintf(stderr, "0x%x", stmt);
+ fprintf(stderr, "%p", stmt);
if (stmt)
{
do
{
- fprintf(stderr, "->0x%x", stmt->next);
+ fprintf(stderr, "->%p", stmt->next);
stmt = stmt->next;
}
while (stmt);