Fix tswap size
commitd538e8f50d89a66ae14a2cf351d2e0e5365d463b
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 20 Aug 2008 22:39:26 +0000 (20 22:39 +0000)
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
Wed, 20 Aug 2008 22:39:26 +0000 (20 22:39 +0000)
tree45714a5cdac1bde22994015f2e8c2ea2eba16b3f
parentdc28c732ac3aa36f6001ef7c7a64df79e1ebb043
Fix tswap size

p in this case is uint32_t *

e1/e2 are unsigned ints initialized from arithmetics performed on
unsigned longs

The mistake was, probably, never noticed due to the absence of any
big endian linux-user host. The types e1/e2 and p begs the quesiton
why this function takes longs at all.

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5036 c046a42c-6fe2-441c-8c8c-71466251a162
linux-user/main.c