Fix printf format with DEBUG_EVENTS

Xlib uses unsigned long for XIDs, but xcb always uses uint32_t. Thus,
this needs the format string for uint32_t now.

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2018-10-03 14:46:14 +02:00 committed by Yuxuan Shui
parent 7e71f46401
commit ca148c8f15
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@ recheck_focus(session_t *ps) {
#ifdef DEBUG_EVENTS
print_timestamp(ps);
printf_dbgf("(): %#010lx (%#010lx \"%s\") focused.\n", wid,
printf_dbgf("(): %#010" PRIx32 " (%#010lx \"%s\") focused.\n", wid,
(w ? w->id: None), (w ? w->name: NULL));
#endif