aboutsummaryrefslogtreecommitdiff
path: root/ccan
diff options
context:
space:
mode:
Diffstat (limited to 'ccan')
-rw-r--r--ccan/endian/endian.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/ccan/endian/endian.h b/ccan/endian/endian.h
index dc9f62e..0c99cc8 100644
--- a/ccan/endian/endian.h
+++ b/ccan/endian/endian.h
@@ -279,7 +279,6 @@ static inline uint16_t le16_to_cpu(leint16_t le_val)
*/
static inline beint64_t cpu_to_be64(uint64_t native)
{
- return ((ENDIAN_CAST beint64_t)BSWAP_64(native));
return CPU_TO_BE64(native);
}