shithub: lwext4

Download patch

ref: 6a159c161b337b95932e3e6e956eec103e6d5141
parent: a4792c8e13d24036aa1151a50054848dd14a346b
author: gkostka <kostka.grzegorz@gmail.com>
date: Sat Jan 16 06:35:29 EST 2016

ext4_config: add ul to CONFIG_MAX_TRUNCATE_SIZE

--- a/lwext4/ext4_config.h
+++ b/lwext4/ext4_config.h
@@ -136,7 +136,7 @@
 /**@brief Maximum single truncate size. Transactions must be limited to reduce
  *        number of allocetions for single transaction*/
 #ifndef CONFIG_MAX_TRUNCATE_SIZE
-#define CONFIG_MAX_TRUNCATE_SIZE (16 * 1024 * 1024)
+#define CONFIG_MAX_TRUNCATE_SIZE (16ul * 1024ul * 1024ul)
 #endif
 
 #ifdef __cplusplus