summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgkostka <kostka.grzegorz@gmail.com>2015-10-29 18:52:34 +0100
committergkostka <kostka.grzegorz@gmail.com>2015-10-29 18:52:34 +0100
commitce3b7dbce80db1ae7f3f69e36e68bf65979e320d (patch)
treead3146c5ebc95a1f96c5fe345b3818e990e3ae4e
parent3bfeca42862161dabe1de36858a7788bea584b08 (diff)
Fix compile warnings for 16 bit int architectures
-rw-r--r--lwext4/ext4_dir_idx.c6
1 files 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 */