summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 */