First draft of the libosl patch series.
[paraslash.git] / mp3_afh.c
index c62a523..2d18d5e 100644 (file)
--- a/mp3_afh.c
+++ b/mp3_afh.c
@@ -411,7 +411,7 @@ static int mp3_read_info(unsigned char *map, size_t numbytes, int fd,
                fpos += len;
                len = find_valid_start(map, numbytes, &fpos, &header);
                if (len <= 0) {
-                       uint32_t end;
+                       size_t end;
                        ret = -E_MP3_INFO;
                        if (!afhi->chunks_total)
                                goto err_out;