]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2005-10-01 Marco Gerards <mgerards@xs4all.nl>
authormarco_g <marco_g@localhost>
Sat, 1 Oct 2005 20:41:53 +0000 (20:41 +0000)
committermarco_g <marco_g@localhost>
Sat, 1 Oct 2005 20:41:53 +0000 (20:41 +0000)
* fs/xfs.c (grub_xfs_iterate_dir): Add parentheses.

ChangeLog
fs/xfs.c

index daa67fcccbca83c5deadbf23ce40660857665003..8891ced7591a0c39a674af7d6f287542e5d65282 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-10-01  Marco Gerards  <mgerards@xs4all.nl>
+
+       * fs/xfs.c (grub_xfs_iterate_dir): Add parentheses.
+
 2005-10-01  Marco Gerards  <mgerards@xs4all.nl>
 
        * configure.ac: Accept `x86_64' as host_cpu.  In that case add
index 32cbbf0ea69105382e6947477eae830c102b2e89..d5726f4934e84c2500f1cd45cc65f2832a5a9a74 100644 (file)
--- 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;
       }