unsigned long is %lu not %ul
This commit is contained in:
QC 2015-01-28 21:27:49 +01:00
parent 1ad7f755c7
commit de9e78bb57
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ static void focus_window_i3 ( const char *socket_path, Window id )
// Formulate command
snprintf ( command, 128, "[id=\"%ul\"] focus", id );
snprintf ( command, 128, "[id=\"%lu\"] focus", id );
// Prepare header.
memcpy ( head.magic, I3_IPC_MAGIC, 6 );
head.size = strlen ( command );