summaryrefslogtreecommitdiffstats
path: root/libao2/ao_dart.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-01 13:18:49 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-01 13:18:49 +0000
commitf102ac7a8c62491761b7b3d32baa87dcb665f9ed (patch)
tree27ad6e8e197f81258631b4b86b3938c870e35a84 /libao2/ao_dart.c
parent5f684e1b32cc052edf33d8c0ff5ead106e98e680 (diff)
downloadmpv-f102ac7a8c62491761b7b3d32baa87dcb665f9ed.tar.bz2
mpv-f102ac7a8c62491761b7b3d32baa87dcb665f9ed.tar.xz
Fix function declarations to avoid casting function pointers.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30164 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libao2/ao_dart.c')
-rw-r--r--libao2/ao_dart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libao2/ao_dart.c b/libao2/ao_dart.c
index 58ee4d1886..e1df7d32f7 100644
--- a/libao2/ao_dart.c
+++ b/libao2/ao_dart.c
@@ -148,7 +148,7 @@ static int init(int rate, int channels, int format, int flags)
const opt_t subopts[] = {
{"share", OPT_ARG_BOOL, &fShare, NULL},
- {"bufsize", OPT_ARG_INT, &nDartSamples, (opt_test_f)int_non_neg},
+ {"bufsize", OPT_ARG_INT, &nDartSamples, int_non_neg},
{NULL}
};