]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - mp3_afh.c
alsa_write.ggo: use "default" instead of "plughw:0,0" as the default device
[paraslash.git] / mp3_afh.c
index 9ef5dffb76a6c46542d827d3674e202ee27204a9..4764d3ceb8c9de0d6f07d001dc89e15fd17dc26a 100644 (file)
--- a/mp3_afh.c
+++ b/mp3_afh.c
@@ -280,7 +280,7 @@ static void mp3_get_id3(unsigned char *map, off_t numbytes, off_t *fpos)
        if (numbytes < 128)
                return;
        *fpos = numbytes - 128;
-       if (strncmp("TAG", map + *fpos, 3)) {
+       if (strncmp("TAG", (char *) map + *fpos, 3)) {
                PARA_INFO_LOG("%s", "no id3 tag\n");
                return;
        }