summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/bmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c
index 0b1a279..5061887 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);
}