Change window id from long unsigned to unsigned.

This commit is contained in:
Dave Davenport 2016-02-28 15:33:57 +01:00
parent a4fd907fe8
commit bd04e90d9e
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ void i3_support_focus_window ( xcb_window_t id )
} }
// Formulate command // Formulate command
snprintf ( command, upm, "[id=\"%lu\"] focus", id ); snprintf ( command, upm, "[id=\"%u\"] focus", id );
// Prepare header. // Prepare header.
memcpy ( head.magic, I3_IPC_MAGIC, 6 ); memcpy ( head.magic, I3_IPC_MAGIC, 6 );
head.size = strlen ( command ); head.size = strlen ( command );