mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-26 21:00:21 +00:00
ao_pulse: remove unnecessary casts and use the proper print specifier
This commit is contained in:
@@ -314,8 +314,8 @@ static int pa_init_boilerplate(struct ao *ao)
|
||||
}
|
||||
|
||||
MP_VERBOSE(ao, "Library version: %s\n", pa_get_library_version());
|
||||
MP_VERBOSE(ao, "Proto: %lu\n",
|
||||
(long)pa_context_get_protocol_version(priv->context));
|
||||
MP_VERBOSE(ao, "Proto: %" PRIu32 "\n",
|
||||
pa_context_get_protocol_version(priv->context));
|
||||
|
||||
pa_context_set_state_callback(priv->context, context_state_cb, ao);
|
||||
pa_context_set_subscribe_callback(priv->context, subscribe_cb, ao);
|
||||
@@ -333,8 +333,8 @@ static int pa_init_boilerplate(struct ao *ao)
|
||||
pa_threaded_mainloop_wait(priv->mainloop);
|
||||
}
|
||||
|
||||
MP_VERBOSE(ao, "Server proto: %lu\n",
|
||||
(long)pa_context_get_server_protocol_version(priv->context));
|
||||
MP_VERBOSE(ao, "Server proto: %" PRIu32 "\n",
|
||||
pa_context_get_server_protocol_version(priv->context));
|
||||
|
||||
pa_threaded_mainloop_unlock(priv->mainloop);
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user