diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2014-11-26 16:49:39 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2014-11-26 16:49:39 +0100 |
commit | bb90caec1be476ce4093e72029537c8ccd38f5b3 (patch) | |
tree | b2f851519a6c80a2a9ebe98d389602cb2dfd4d31 /src/disk.c | |
parent | c86e130ab1af4b6161b2a71a2449d2e02109800f (diff) | |
download | 0xFFFF-bb90caec1be476ce4093e72029537c8ccd38f5b3.tar.bz2 |
all: Fix overflow in shift operators
Diffstat (limited to 'src/disk.c')
-rw-r--r-- | src/disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ #include "usb-device.h" #include "printf-utils.h" -static char global_buf[1 << 22]; /* 4MB */ +static char global_buf[1UL << 22]; /* 4MB */ int disk_open_dev(int maj, int min, int partition, int readonly) { |