Make btrfs-progs compile with -fstrict-aliasing (included in -O2) again.
commitddcaa0171a677a76078c6e0ad54c2f8033110a6f
authorJan Engelhardt <jengelh@computergmbh.de>
Fri, 14 Sep 2007 14:31:06 +0000 (14 10:31 -0400)
committerDavid Woodhouse <dwmw2@hera.kernel.org>
Fri, 14 Sep 2007 14:31:06 +0000 (14 10:31 -0400)
tree2762ad4ae379ba32cd5e3316e501e05dc2392e4e
parent8454d619a7f6966f65f17c2a727e07ae3667b631
Make btrfs-progs compile with -fstrict-aliasing (included in -O2) again.

This is done by doing a two-step conversion (rather than a one-step).
First, the variable goes from type * to void *, and then to
implicitly to void **.
(Not sure if this is "good practice", but it shuts up the compiler,
so it seems the compiler takes into account that we are actually punning
it this way.)
bit-radix.c
btrfsck.c
extent-tree.c
radix-tree.c