From 113d821696c25f508e2b98c3ecd749e3c92ac118 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Thu, 10 Sep 2015 22:27:55 -0500 Subject: endian: fix le64toh() This change was sitting in my git index, and I failed to push it in the original patch. Change-Id: If6f49c3c2b7908f93a99c23a80536ad5937959c7 Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/11622 Reviewed-by: Ronald G. Minnich Tested-by: Stefan Reinauer --- src/include/endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/include') 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 -- cgit v1.2.3