Update mpd_client.c

%i to %li as it unsigned long int
This commit is contained in:
Dedy Martadinata S 2021-08-25 21:47:28 +07:00 committed by GitHub
parent ac7ad51a0e
commit e43057717b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -412,7 +412,7 @@ static int mpd_notify_callback(struct mg_connection *c, enum mg_event ev) {
mpd.buf_size = mpd_put_channels(mpd.buf);
mg_websocket_write(c, 1, mpd.buf, mpd.buf_size);
} else {
fprintf(stdout, "notify_callback: %i, %s\n", mpd.buf_size, mpd.buf);
fprintf(stdout, "notify_callback: %li, %s\n", mpd.buf_size, mpd.buf);
mg_websocket_write(c, 1, mpd.buf, mpd.buf_size);
}