From: marco_g Date: Sat, 1 Oct 2005 20:41:53 +0000 (+0000) Subject: 2005-10-01 Marco Gerards X-Git-Tag: 1.98~2064 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=047b67e0c5dbf99d63b7e0983dc0d8e33dc5f946;p=thirdparty%2Fgrub.git 2005-10-01 Marco Gerards * fs/xfs.c (grub_xfs_iterate_dir): Add parentheses. --- 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; }