]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Fix compile warning
authorTakashi Iwai <tiwai@suse.de>
Wed, 8 Jun 2005 13:52:57 +0000 (13:52 +0000)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 Jun 2005 13:52:57 +0000 (13:52 +0000)
Fix compile warning about const prefix (bug #1158)

src/dlmisc.c

index dc4224740d3a300aff699c6fd204251e7bb66bd5..908a41254d986e9a3bc486fdca9279fa33e7a8a4 100644 (file)
@@ -208,7 +208,7 @@ void snd_dlobj_cache_cleanup(void)
                c = list_entry(p, struct dlobj_cache, list);
                list_del(p);
                snd_dlclose(c->obj);
-               free(c->name);
+               free((void *)c->name); /* shut up gcc warning */
                free(c);
        }
 }