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:
parent
7e71f46401
commit
ca148c8f15
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue