aboutsummaryrefslogtreecommitdiff
path: root/xkbcomp/parseutils.c
diff options
context:
space:
mode:
Diffstat (limited to 'xkbcomp/parseutils.c')
-rw-r--r--xkbcomp/parseutils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xkbcomp/parseutils.c b/xkbcomp/parseutils.c
index ca665e25a..253cd9dae 100644
--- a/xkbcomp/parseutils.c
+++ b/xkbcomp/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);