diff options
Diffstat (limited to 'firmware/common/disk.c')
-rw-r--r-- | firmware/common/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c index fd6de55ddb..f4d153c1c2 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c | |||
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #define BYTES2INT32(array,pos) \ | 44 | #define BYTES2INT32(array,pos) \ |
45 | ((long)array[pos] | (long)(array[pos+1] << 8 ) | \ | 45 | ((long)array[pos] | ((long)array[pos+1] << 8 ) | \ |
46 | ((long)array[pos+2] << 16 ) | ((long)array[pos+3] << 24 )) | 46 | ((long)array[pos+2] << 16 ) | ((long)array[pos+3] << 24 )) |
47 | 47 | ||
48 | static struct partinfo part[8]; /* space for 4 partitions on 2 drives */ | 48 | static struct partinfo part[8]; /* space for 4 partitions on 2 drives */ |