From c27d51c553f67c4403550b195205197d798cbb75 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Mon, 25 Apr 2005 09:21:22 +0000 Subject: [PATCH] Long policy git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6345 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/bmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index 0b1a2793c6..506188790d 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c @@ -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); }