From b50617d3563569563b0a6976937b6ffc0da6be47 Mon Sep 17 00:00:00 2001 From: Ron Pedde Date: Mon, 29 Nov 2004 06:01:27 +0000 Subject: [PATCH] bad type - off_t vs fpos_t --- src/mp3-scanner.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mp3-scanner.c b/src/mp3-scanner.c index 6ff91200..58dd0503 100644 --- a/src/mp3-scanner.c +++ b/src/mp3-scanner.c @@ -1315,12 +1315,12 @@ int scan_decode_mp3_frame(unsigned char *frame, SCAN_FRAMEINFO *pfi) { * @param pfi pointer to frame info struct to put the bitrate into */ void scan_get_average_bitrate(FILE *infile, SCAN_FRAMEINFO *pfi) { - fpos_t file_size; + off_t file_size; unsigned char frame_buffer[2900]; unsigned char header[4]; int index=0; int found=0; - fpos_t pos; + off_t pos; SCAN_FRAMEINFO fi; int frame_count=0; int bitrate_total=0; @@ -1403,7 +1403,7 @@ void scan_get_frame_count(FILE *infile, SCAN_FRAMEINFO *pfi) { int frames=0; unsigned char frame_buffer[4]; SCAN_FRAMEINFO fi; - fpos_t file_size; + off_t file_size; int err=0; int cbr=1; int last_bitrate=0;