summaryrefslogtreecommitdiffstats
path: root/backend_common.h
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2014-02-19 13:28:17 -0500
committerSolomon Peachy <pizza@shaftnet.org>2014-02-19 13:28:17 -0500
commitf700ec8755d916b2fa9adaf0df65f18048c2b528 (patch)
tree267cd007e6518ceb4ee85e06312e5207bed98ae2 /backend_common.h
parent4e527ef084f1b70ea648349e64f7ab1d0ded14dd (diff)
downloadselphy_print-f700ec8755d916b2fa9adaf0df65f18048c2b528.tar.gz
selphy_print-f700ec8755d916b2fa9adaf0df65f18048c2b528.tar.bz2
selphy_print-f700ec8755d916b2fa9adaf0df65f18048c2b528.zip
common: Fix build on Big Endian systems. Patch by Dimitri John Ledkov.
Diffstat (limited to 'backend_common.h')
-rw-r--r--backend_common.h2
1 files changed, 1 insertions, 1 deletions
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