From ce3b7dbce80db1ae7f3f69e36e68bf65979e320d Mon Sep 17 00:00:00 2001 From: gkostka Date: Thu, 29 Oct 2015 18:52:34 +0100 Subject: Fix compile warnings for 16 bit int architectures --- lwext4/ext4_dir_idx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lwext4/ext4_dir_idx.c b/lwext4/ext4_dir_idx.c index de1fb0d..2a53030 100644 --- a/lwext4/ext4_dir_idx.c +++ b/lwext4/ext4_dir_idx.c @@ -755,7 +755,7 @@ int ext4_dir_dx_find_entry(struct ext4_directory_search_result *result, "Inode: %" PRIu32", " "Block: %" PRIu32"\n", inode_ref->index, - 0); + (uint32_t)0); } /* Initialize hash info (compute hash value) */ @@ -1383,7 +1383,7 @@ int ext4_dir_dx_add_entry(struct ext4_inode_ref *parent, "Inode: %" PRIu32", " "Block: %" PRIu32"\n", parent->index, - 0); + (uint32_t)0); } /* Initialize hinfo structure (mainly compute hash) */ @@ -1520,7 +1520,7 @@ int ext4_dir_dx_reset_parent_inode(struct ext4_inode_ref *dir, "Inode: %" PRIu32", " "Block: %" PRIu32"\n", dir->index, - 0); + (uint32_t)0); } /* Initialize pointers to data structures */ -- cgit v1.2.3