Long policy

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6345 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-04-25 09:21:22 +00:00
parent 63c5fc7849
commit c27d51c553

View file

@ -71,7 +71,7 @@ short readshort(void* value) {
return bytes[0] | (bytes[1] << 8);
}
int readlong(void* value) {
long readlong(void* value) {
unsigned char* bytes = (unsigned char*) value;
return bytes[0] | (bytes[1] << 8) | (bytes[2] << 16) | (bytes[3] << 24);
}