From: Anton Blanchard Date: Mon, 7 Nov 2011 13:16:26 +0000 (+0100) Subject: Fix big endian build X-Git-Tag: fio-1.99.11~4 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=823ba54bfc91f18fdd847e6efc41b422529bc4f8;hp=823ba54bfc91f18fdd847e6efc41b422529bc4f8 Fix big endian build I get the following error when building fio on PowerPC: client.c: In function ‘convert_agg’: client.c:641:22: error: invalid operands to binary & (have ‘long double’ and ‘long long unsigned int’) It looks like we have things backwards, we should byteswap the integer value before we convert it to a double. Signed-off-by: Anton Blanchard Signed-off-by: Jens Axboe ---