ref: bb20c4898f61a85f105b4b4d23d27365f819d0c9
parent: 696059627084945d5b51f1a161731b4bc581ee58
author: gkostka <[email protected]>
date: Sun Nov 29 06:00:46 EST 2015
Fix avrxmega7 build
--- a/lwext4/ext4_debug.h
+++ b/lwext4/ext4_debug.h
@@ -61,23 +61,23 @@
#endif
-#define DEBUG_BALLOC (1 << 0)
-#define DEBUG_BCACHE (1 << 1)
-#define DEBUG_BITMAP (1 << 2)
-#define DEBUG_BLOCK_GROUP (1 << 3)
-#define DEBUG_BLOCKDEV (1 << 4)
-#define DEBUG_DIR_IDX (1 << 5)
-#define DEBUG_DIR (1 << 6)
-#define DEBUG_EXTENT (1 << 7)
-#define DEBUG_FS (1 << 8)
-#define DEBUG_HASH (1 << 9)
-#define DEBUG_IALLOC (1 << 10)
-#define DEBUG_INODE (1 << 11)
-#define DEBUG_SUPER (1 << 12)
-#define DEBUG_XATTR (1 << 13)
-#define DEBUG_MKFS (1 << 14)
-#define DEBUG_EXT4 (1 << 15)
-#define DEBUG_JBD (1 << 16)
+#define DEBUG_BALLOC (1ul << 0)
+#define DEBUG_BCACHE (1ul << 1)
+#define DEBUG_BITMAP (1ul << 2)
+#define DEBUG_BLOCK_GROUP (1ul << 3)
+#define DEBUG_BLOCKDEV (1ul << 4)
+#define DEBUG_DIR_IDX (1ul << 5)
+#define DEBUG_DIR (1ul << 6)
+#define DEBUG_EXTENT (1ul << 7)
+#define DEBUG_FS (1ul << 8)
+#define DEBUG_HASH (1ul << 9)
+#define DEBUG_IALLOC (1ul << 10)
+#define DEBUG_INODE (1ul << 11)
+#define DEBUG_SUPER (1ul << 12)
+#define DEBUG_XATTR (1ul << 13)
+#define DEBUG_MKFS (1ul << 14)
+#define DEBUG_EXT4 (1ul << 15)
+#define DEBUG_JBD (1ul << 16)
#define DEBUG_ALL (0xFFFFFFFF)
--- a/lwext4/ext4_journal.c
+++ b/lwext4/ext4_journal.c
@@ -14,7 +14,7 @@
#include "tree.h"
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
struct revoke_entry {
ext4_fsblk_t block;