diff options
-rw-r--r-- | alias.c | 2 | ||||
-rw-r--r-- | parseutils.c | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -278,7 +278,7 @@ ApplyAliases(XkbDescPtr xkb, Bool toGeom, AliasInfo ** info_in) if ((a - old) != (nOld + nNew)) { WSGO2("Expected %d aliases total but created %d\n", nOld + nNew, - a - old); + (int)(a - old)); } #endif if (toGeom) 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); |