powerpc: use consistent types in mktree
authorStephen Rothwell <sfr@canb.auug.org.au>
Mon, 10 Aug 2009 17:14:55 +0000 (17:14 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Aug 2009 00:29:30 +0000 (10:29 +1000)
commit3c15a68880023722fc794018768df556f438ae98
tree07c9f4160a44799dafce855ad16c84064557c467
parent903444e4297264ec0959e886695911659edb425c
powerpc: use consistent types in mktree

gcc v4.4 currently produces this build warning:

arch/powerpc/boot/mktree.c: In function 'main':
arch/powerpc/boot/mktree.c:104: warning: dereferencing type-punned pointer will break strict-aliasing rules

tmpbuf is only used as an array of unsigned ints, so declare it that way.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/boot/mktree.c