From: David Woodhouse Date: Sat, 23 Feb 2013 00:24:47 +0000 (+0000) Subject: Fix return type of le64_to_cpu() and be64_to_cpu() X-Git-Tag: rel-1.7.3~62 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=e78e7618da272bb47ad23e98d951102ca3cd3301;p=seabios.git Fix return type of le64_to_cpu() and be64_to_cpu() Signed-off-by: David Woodhouse --- diff --git a/src/byteorder.h b/src/byteorder.h index 5a8a64a..7362aeb 100644 --- a/src/byteorder.h +++ b/src/byteorder.h @@ -43,7 +43,7 @@ static inline u16 le16_to_cpu(u16 x) { static inline u32 le32_to_cpu(u32 x) { return x; } -static inline u32 le64_to_cpu(u64 x) { +static inline u64 le64_to_cpu(u64 x) { return x; } @@ -62,7 +62,7 @@ static inline u16 be16_to_cpu(u16 x) { static inline u32 be32_to_cpu(u32 x) { return swab32(x); } -static inline u32 be64_to_cpu(u64 x) { +static inline u64 be64_to_cpu(u64 x) { return swab64(x); }