]> git.sur5r.net Git - u-boot/commit
UBIFS: Fix dereferencing type-punned pointer compiler warning
authorDirk Behme <dirk.behme@googlemail.com>
Sat, 25 Dec 2010 09:58:46 +0000 (10:58 +0100)
committerStefan Roese <sr@denx.de>
Tue, 11 Jan 2011 10:09:36 +0000 (11:09 +0100)
commitc7b7d4550d0178dc302c808f974a7beb0f80d3e1
tree518613d7ef2e89409950a4e24c82d1e825658982
parent0e7790d450000c1a2cda40458adb28707eaa5041
UBIFS: Fix dereferencing type-punned pointer compiler warning

Fix compiler warning

In file included from ubifs.h:2137:0,
                 from ubifs.c:26:
misc.h: In function 'ubifs_idx_key':
misc.h:263:26: warning: dereferencing type-punned pointer will break strict-aliasing rules

seen with gcc version 4.5.1 (Sourcery G++ Lite 2010.09-50).

No functional change.

CC: Stefan Roese <sr@denx.de>
Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Signed-off-by: Stefan Roese <sr@denx.de>
fs/ubifs/misc.h