X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=mp3_afh.c;h=74d65fff6750355fd4a62b296e0b0d4d2d70ff2b;hp=484172abe6e28345073f339623f5219c390b58ce;hb=06d0c50525fc14e8127916481a74c14a2f7098af;hpb=0f4910b50116416fefb09ca67a615679067ef359;ds=sidebyside diff --git a/mp3_afh.c b/mp3_afh.c index 484172ab..74d65fff 100644 --- a/mp3_afh.c +++ b/mp3_afh.c @@ -656,7 +656,7 @@ static int mp3_read_info(unsigned char *map, size_t numbytes, int fd, afhi->channels = header_channels(&header); afhi->seconds_total = (tv2ms(&total_time) + 500) / 1000; tv_divide(afhi->chunks_total, &total_time, &afhi->chunk_tv); - PARA_DEBUG_LOG("%lu chunks, each %lums\n", afhi->chunks_total, + PARA_DEBUG_LOG("%" PRIu32 "chunks, each %lums\n", afhi->chunks_total, tv2ms(&afhi->chunk_tv)); ret = mp3_get_id3(map, numbytes, fd, &afhi->tags); afhi->techinfo = make_message("%cbr, %s, %s tags", vbr? 'v' : 'c', @@ -684,7 +684,7 @@ static int mp3_get_file_info(char *map, size_t numbytes, int fd, return 1; } -static const char* mp3_suffixes[] = {"mp3", NULL}; +static const char * const mp3_suffixes[] = {"mp3", NULL}; /** * the init function of the mp3 audio format handler