From fbfe2a5884254a2bb0a96685de5cffdabd481ea1 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Wed, 19 Feb 2014 13:28:17 -0500 Subject: [PATCH] common: Fix build on Big Endian systems. Patch by Dimitri John Ledkov. --- backend_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend_common.h b/backend_common.h index 0d679ca..dc858e9 100644 --- a/backend_common.h +++ b/backend_common.h @@ -68,7 +68,7 @@ uint16_t __x = (x); \ ((uint16_t)( \ (((uint16_t)(__x) & (uint16_t)0x00ff) << 8) | \ - (((uint16_t)(__x) & (uint16_t)0xff00) >> 8) | \ + (((uint16_t)(__x) & (uint16_t)0xff00) >> 8))); \ }) #define be32_to_cpu(__x) __x #define be16_to_cpu(__x) __x