Update of /cvsroot/alsa/alsa-lib/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12057/src

Modified Files:
        confmisc.c 
Log Message:
avoid the compile warnings (about cast) with the recent GCC.


Index: confmisc.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/confmisc.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- confmisc.c  23 Jul 2002 19:51:17 -0000      1.30
+++ confmisc.c  4 May 2004 15:11:58 -0000       1.31
@@ -865,6 +865,7 @@
 {
        snd_pcm_info_t *info;
        const char *id;
+       void *data;
        snd_pcm_t *pcm;
        int err;
 
@@ -875,7 +876,8 @@
                SNDERR("field pcm_handle not found");
                return -EINVAL;
        }
-       err = snd_config_get_pointer(private_data, (const void **)&pcm);
+       err = snd_config_get_pointer(private_data, &data);
+       pcm = data;
        if (err < 0) {
                SNDERR("field pcm_handle is not a pointer");
                return err;



-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to