diff --git a/ChangeLog b/ChangeLog index daa67fccc..8891ced75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-10-01 Marco Gerards + + * fs/xfs.c (grub_xfs_iterate_dir): Add parentheses. + 2005-10-01 Marco Gerards * configure.ac: Accept `x86_64' as host_cpu. In that case add diff --git a/fs/xfs.c b/fs/xfs.c index 32cbbf0ea..d5726f493 100644 --- a/fs/xfs.c +++ b/fs/xfs.c @@ -376,8 +376,8 @@ grub_xfs_iterate_dir (grub_fshelp_node_t dir, de = ((struct grub_xfs_dir_entry *) (((char *) de)+ sizeof (struct grub_xfs_dir_entry) + de->len - + (smallino ? sizeof (grub_uint32_t) - : sizeof (grub_uint64_t))) - 1); + + ((smallino ? sizeof (grub_uint32_t) + : sizeof (grub_uint64_t))) - 1)); } break; }