changeset 12383:94ba609e53f7

ok this one is beyond stupid. the code didn't even do what was intended
author rfelker
date Sat, 01 May 2004 19:43:59 +0000
parents a830eebf6693
children f191e76af463
files libao2/ao_oss.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_oss.c	Sat May 01 19:37:09 2004 +0000
+++ b/libao2/ao_oss.c	Sat May 01 19:43:59 2004 +0000
@@ -46,7 +46,7 @@
 	    dsp=(char*)arg;
 	    return CONTROL_OK;
 	case AOCONTROL_GET_DEVICE:
-	    (char*)arg=dsp;
+	    *(char**)arg=dsp;
 	    return CONTROL_OK;
 	case AOCONTROL_QUERY_FORMAT:
 	    return CONTROL_TRUE;