]> xenbits.xensource.com Git - seabios.git/commitdiff
Fix return type of le64_to_cpu() and be64_to_cpu()
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 23 Feb 2013 00:24:47 +0000 (00:24 +0000)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 23 Feb 2013 14:47:42 +0000 (09:47 -0500)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
src/byteorder.h

index 5a8a64a743687005daeba4c382fc9ae15f432512..7362aeb71af249a83d552988665fcbd0d141fe39 100644 (file)
@@ -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);
 }