summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/endian.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/endian.h b/src/include/endian.h
index 297ffd7733..b9f1deef01 100644
--- a/src/include/endian.h
+++ b/src/include/endian.h
@@ -150,7 +150,7 @@ static inline uint64_t be64toh(uint64_t big_endian_64bits)
static inline uint64_t le64toh(uint64_t little_endian_64bits)
{
- return le16_to_cpu(little_endian_64bits);
+ return le64_to_cpu(little_endian_64bits);
}
#endif