[ccan] [PATCH] endian: Fix cpu_to_be64 on big-endian

Rusty Russell rusty at rustcorp.com.au
Mon Mar 30 16:21:13 AEDT 2015


Jeremy Kerr <jk at ozlabs.org> writes:
> Commit 9e2c88b5 added an extra return (with an unconditional byteswap)
> in cpu_to_be64. This breaks on big-endian, where we shouldn't be
> byteswapping.
>
> Signed-off-by: Jeremy Kerr <jk at ozlabs.org>

Thanks, applied.

Oops,
Rusty.


More information about the ccan mailing list