Fix gcc 4.4 warnings about strict aliasing
commit41d6ab1b96fe167c0e0fce750faef09ca81075c0
authorblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 23 Aug 2009 12:40:22 +0000 (23 12:40 +0000)
committerblueswirl <blueswirl@f158a5a8-5612-0410-a976-696ce0be7e32>
Sun, 23 Aug 2009 12:40:22 +0000 (23 12:40 +0000)
treede70aaa48433ffd5b7603dfb9ca26099ae86947b
parent52cb0b5eda611986abf300f28c7aaa36d55b8971
Fix gcc 4.4 warnings about strict aliasing

Rather than cast char arrays to other types, use correct types and cast
them to char pointers when needed.

Author: Pavel Roskin <proski@gnu.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
git-svn-id: svn://openbios.org/openbios/trunk/openbios-devel@568 f158a5a8-5612-0410-a976-696ce0be7e32
drivers/fw_cfg.c
modules/pc-parts.c