diff libao2/ao_plugin.c @ 9633:12b1790038b0

64bit libao2 fix by Jens Axboe <mplayer-dev@kernel.dk>
author alex
date Fri, 21 Mar 2003 16:42:50 +0000
parents eaee773aee9c
children 99798c3cdb93
line wrap: on
line diff
--- a/libao2/ao_plugin.c	Fri Mar 21 16:32:53 2003 +0000
+++ b/libao2/ao_plugin.c	Fri Mar 21 16:42:50 2003 +0000
@@ -44,10 +44,10 @@
 ao_plugin_cfg_t  ao_plugin_cfg=CFG_DEFAULTS; // Set in cfg-mplayer.h
 
 // to set/get/query special features/parameters
-static int control(int cmd,int arg){
+static int control(int cmd,void *arg){
   switch(cmd){
   case AOCONTROL_SET_PLUGIN_DRIVER:
-    ao_plugin_local_data.driver=(ao_functions_t*)arg;
+    ao_plugin_local_data.driver=arg;
     return CONTROL_OK;
   case AOCONTROL_GET_VOLUME:
   case AOCONTROL_SET_VOLUME: