don't cast for no reason

This commit is contained in:
Rachel Lambda Samuelsson 2021-01-27 23:43:30 +01:00
parent 3d5e878ed6
commit f40c43e7d3

View File

@ -279,7 +279,7 @@ int main(int argc, char** argv) {
if (mpd_connection_get_error(connection) != MPD_ERROR_SUCCESS) if (mpd_connection_get_error(connection) != MPD_ERROR_SUCCESS)
die(mpd_connection_get_error_message(connection)); die(mpd_connection_get_error_message(connection));
const int* version = mpd_connection_get_server_version(connection); const unsigned int* version = mpd_connection_get_server_version(connection);
printf("Connected to mpd server version %d.%d.%d\n", version[0], version[1], version[2]); printf("Connected to mpd server version %d.%d.%d\n", version[0], version[1], version[2]);
/* setup x */ /* setup x */