X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=afh.c;h=e419d2708d7224aaa5330515b11d45947c0d5fab;hb=501b83a39828c9d3db5498c7352a2e5b60175bba;hp=c896a7d1eff4a843e2e61a4ec8b6dac4982ed197;hpb=4793e8dd226b49ea0b931504c84f21449ab8f704;p=paraslash.git diff --git a/afh.c b/afh.c index c896a7d1..e419d270 100644 --- a/afh.c +++ b/afh.c @@ -159,7 +159,7 @@ static void print_chunk_table(struct afh_info *afhi, int audio_format_id, struct timeval tv; long unsigned from, to; const char *buf; - size_t len; + uint32_t len; tv_scale(i, &afhi->chunk_tv, &tv); from = tv2ms(&tv); tv_scale(i + 1, &afhi->chunk_tv, &tv); @@ -177,7 +177,7 @@ static void print_chunk_table(struct afh_info *afhi, int audio_format_id, printf("%td - %td", buf - (const char *)map, buf + len - (const char *)map); if (!OPT_GIVEN(PARSER_FRIENDLY)) - printf(" (%zu)", len); + printf(" (%u)", len); printf("\n"); } afh_close(ctx, audio_format_id);