all: Fix overflow in shift operators
This commit is contained in:
1 parent
c86e130ab1
commit
bb90caec1b
4 files changed
+8
-8
No files matched your search
+1
-1
@@ -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) {
|
||||
|
||||
|
||||
Reference in new issue
Block a user