# HG changeset patch # User diego # Date 1231617707 0 # Node ID f313c0ff68829d21fcb6ece767f967e3ba30d89c # Parent 3bb4536452dc0adfd1e18dea6c27778072fe4cac Add missing const qualifier to mpctx_get_audio_out function declaration. This fixes the warning: mplayer.c:381: warning: return discards qualifiers from pointer target type diff -r 3bb4536452dc -r f313c0ff6882 mplayer.c --- a/mplayer.c Sat Jan 10 14:23:42 2009 +0000 +++ b/mplayer.c Sat Jan 10 20:01:47 2009 +0000 @@ -376,7 +376,7 @@ return mpctx->video_out; } -void *mpctx_get_audio_out(MPContext *mpctx) +const void *mpctx_get_audio_out(MPContext *mpctx) { return mpctx->audio_out; }