summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgkostka <kostka.grzegorz@gmail.com>2016-01-16 11:35:29 +0100
committergkostka <kostka.grzegorz@gmail.com>2016-01-16 11:35:29 +0100
commit6a159c161b337b95932e3e6e956eec103e6d5141 (patch)
tree488d03ada6e14a01a8594e9400c73e78f455adfd
parenta4792c8e13d24036aa1151a50054848dd14a346b (diff)
ext4_config: add ul to CONFIG_MAX_TRUNCATE_SIZE
-rw-r--r--lwext4/ext4_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwext4/ext4_config.h b/lwext4/ext4_config.h
index 0695ba5..940ef93 100644
--- a/lwext4/ext4_config.h
+++ b/lwext4/ext4_config.h
@@ -136,7 +136,7 @@ extern "C" {
/**@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