mirror of https://github.com/mpv-player/mpv
Add a missing const, fixes a compiler warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30062 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b7fa147ee8
commit
cb7a098c81
|
@ -140,7 +140,7 @@ static int init(int rate_hz, int channels, int format, int flags) {
|
|||
char *devarg = NULL;
|
||||
char *host = NULL;
|
||||
char *sink = NULL;
|
||||
char *version = pa_get_library_version();
|
||||
const char *version = pa_get_library_version();
|
||||
|
||||
if (ao_subdevice) {
|
||||
devarg = strdup(ao_subdevice);
|
||||
|
|
Loading…
Reference in New Issue