changeset 28259:f313c0ff6882

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
author diego
date Sat, 10 Jan 2009 20:01:47 +0000
parents 3bb4536452dc
children 4f02af17532d
files mplayer.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }