ref: ce3b7dbce80db1ae7f3f69e36e68bf65979e320d
parent: 3bfeca42862161dabe1de36858a7788bea584b08
author: gkostka <kostka.grzegorz@gmail.com>
date: Thu Oct 29 14:52:34 EDT 2015
Fix compile warnings for 16 bit int architectures
--- a/lwext4/ext4_dir_idx.c
+++ b/lwext4/ext4_dir_idx.c
@@ -755,7 +755,7 @@
"Inode: %" PRIu32", "
"Block: %" PRIu32"\n",
inode_ref->index,
- 0);
+ (uint32_t)0);
}
/* Initialize hash info (compute hash value) */
@@ -1383,7 +1383,7 @@
"Inode: %" PRIu32", "
"Block: %" PRIu32"\n",
parent->index,
- 0);
+ (uint32_t)0);
}
/* Initialize hinfo structure (mainly compute hash) */
@@ -1520,7 +1520,7 @@
"Inode: %" PRIu32", "
"Block: %" PRIu32"\n",
dir->index,
- 0);
+ (uint32_t)0);
}
/* Initialize pointers to data structures */