Fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12893 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
149a7bab5b
commit
176cd65e4c
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ int iaudio_decode(char *iname, char *oname);
|
|||
|
||||
unsigned int le2int(unsigned char* buf)
|
||||
{
|
||||
int32_t res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0];
|
||||
unsigned int res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0];
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
|
@ -54,7 +54,7 @@ void short2le(unsigned short val, unsigned char* addr)
|
|||
|
||||
unsigned int le2int(unsigned char* buf)
|
||||
{
|
||||
int32_t res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0];
|
||||
unsigned int res = (buf[3] << 24) | (buf[2] << 16) | (buf[1] << 8) | buf[0];
|
||||
|
||||
return res;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue