Use correct types to avoid sim warnings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7627 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thom Johansen 2005-10-13 12:15:31 +00:00
parent c91e0bbfc9
commit 4d7e5dfbdc
3 changed files with 4 additions and 3 deletions

View file

@ -122,7 +122,7 @@ extern char iramend[];
/* this is the codec entry point */
enum codec_status codec_start(struct codec_api *api)
{
size_t n;
long n;
unsigned char *filebuf;
/* Generic codec initialisation */

View file

@ -72,7 +72,7 @@ void recalc_samplecount(void)
enum codec_status codec_start(struct codec_api *api)
{
int status = 0;
size_t size;
long size;
int file_end;
int frame_skip;
char *inputbuffer;

View file

@ -213,7 +213,8 @@ enum codec_status codec_start(struct codec_api* api)
int bytespersample=0;
uint16_t bitspersample;
uint32_t i;
size_t n, wavbufsize;
long n;
size_t wavbufsize;
int endofstream;
unsigned char* buf;
uint16_t* wavbuf;