From 98a8132155a9c390395c3d1f570883da3e3f560d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bernardy Date: Sun, 30 Jan 2005 14:11:50 +0000 Subject: long policy git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5712 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/mp3data.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/mp3data.h b/firmware/export/mp3data.h index 833a4c9dfa..c031cc20ce 100644 --- a/firmware/export/mp3data.h +++ b/firmware/export/mp3data.h @@ -43,9 +43,9 @@ struct mp3info { bool is_xing_vbr; /* True if the VBR header is of Xing type */ bool is_vbri_vbr; /* True if the VBR header is of VBRI type */ unsigned char toc[100]; - int frame_count; /* Number of frames in the file (if VBR) */ - int byte_count; /* File size in bytes */ - int file_time; /* Length of the whole file in milliseconds */ + long frame_count; /* Number of frames in the file (if VBR) */ + long byte_count; /* File size in bytes */ + long file_time; /* Length of the whole file in milliseconds */ int vbr_header_pos; }; @@ -55,8 +55,8 @@ struct mp3info { #define VBR_TOC_FLAG 0x04 -unsigned long find_next_frame(int fd, int *offset, int max_offset, unsigned long last_header); -unsigned long mem_find_next_frame(int startpos, int *offset, int max_offset, +unsigned long find_next_frame(int fd, long *offset, long max_offset, unsigned long last_header); +unsigned long mem_find_next_frame(int startpos, long *offset, long max_offset, unsigned long last_header); int get_mp3file_info(int fd, struct mp3info *info); int count_mp3_frames(int fd, int startpos, int filesize, -- cgit v1.2.3