From 047b67e0c5dbf99d63b7e0983dc0d8e33dc5f946 Mon Sep 17 00:00:00 2001 From: marco_g Date: Sat, 1 Oct 2005 20:41:53 +0000 Subject: [PATCH] 2005-10-01 Marco Gerards * fs/xfs.c (grub_xfs_iterate_dir): Add parentheses. --- ChangeLog | 4 ++++ fs/xfs.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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; } -- 2.47.3