shithub: lwext4

Download patch

ref: 0d2e2caf7147e0f360a4b49c485953a7b84eeb3c
parent: d28be3a3f0252e2620f761119abcf0d4383ee5b3
author: gkostka <[email protected]>
date: Sun Oct 11 05:17:31 EDT 2015

Fix 16 bit MCU compilation warnings

--- a/lwext4/ext4_types.h
+++ b/lwext4/ext4_types.h
@@ -555,9 +555,9 @@
 
 #define EXT4_LINK_MAX 65000
 
-#define EXT4_EXT_UNWRITTEN_MASK (1 << 15)
+#define EXT4_EXT_UNWRITTEN_MASK (1L << 15)
 
-#define EXT4_EXT_MAX_LEN_WRITTEN (1 << 15)
+#define EXT4_EXT_MAX_LEN_WRITTEN (1L << 15)
 #define EXT4_EXT_MAX_LEN_UNWRITTEN \
 	(EXT4_EXT_MAX_LEN_WRITTEN - 1)