From 790e41cf8f8e047942231a062d3a937bbc3e3d14 Mon Sep 17 00:00:00 2001 From: reimar Date: Wed, 2 Sep 2009 11:33:37 +0000 Subject: The suboption parser now takes a const options list, so mark them all const. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29628 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libao2/ao_jack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libao2/ao_jack.c') diff --git a/libao2/ao_jack.c b/libao2/ao_jack.c index e92786c28d..7d22ca1676 100644 --- a/libao2/ao_jack.c +++ b/libao2/ao_jack.c @@ -208,7 +208,7 @@ static int init(int rate, int channels, int format, int flags) { char *port_name = NULL; char *client_name = NULL; int autostart = 0; - opt_t subopts[] = { + const opt_t subopts[] = { {"port", OPT_ARG_MSTRZ, &port_name, NULL}, {"name", OPT_ARG_MSTRZ, &client_name, NULL}, {"estimate", OPT_ARG_BOOL, &estimate, NULL}, -- cgit v1.2.3