diff options
author | David Woodhouse <David.Woodhouse@intel.com> | 2013-02-23 00:24:47 +0000 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-02-23 09:47:42 -0500 |
commit | e78e7618da272bb47ad23e98d951102ca3cd3301 (patch) | |
tree | b66a6be3885689e2df1f165b3de67ee306ea13a0 | |
parent | dbb7a66f47f443187a877ab4a985e9acb17b79ce (diff) | |
download | seabios-e78e7618da272bb47ad23e98d951102ca3cd3301.tar.gz |
Fix return type of le64_to_cpu() and be64_to_cpu()
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
-rw-r--r-- | src/byteorder.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |