summaryrefslogtreecommitdiff
path: root/src/add_window.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-05-11 22:16:23 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-05-11 22:16:23 -0700
commitef39179b9fe6d13f7e81098edfc10711c8b40948 (patch)
treed027ca6a711329601206b54fa087183c778c49a4 /src/add_window.c
parent0f1ccd0b3409ab9b9fce1256fc59ad9bbe69a349 (diff)
LP64: Fix formatting for DEBUG printf
add_window.c: In function 'AddWindow': add_window.c:169: warning: format '%x' expects type 'unsigned int', but argument 3 has type 'Window' Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'src/add_window.c')
-rw-r--r--src/add_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/add_window.c b/src/add_window.c
index af7e384..690354a 100644
--- a/src/add_window.c
+++ b/src/add_window.c
@@ -166,7 +166,7 @@ AddWindow(Window w, int iconm, IconMgr *iconp)
char *name;
#ifdef DEBUG
- fprintf(stderr, "AddWindow: w = 0x%x\n", w);
+ fprintf(stderr, "AddWindow: w = 0x%lx\n", (unsigned long)w);
#endif
/* allocate space for the twm window */