From 9c67452f106c07c70ff9ca5e8be16c64b5cefe1a Mon Sep 17 00:00:00 2001 From: Themaister Date: Wed, 14 Dec 2011 00:36:28 +0100 Subject: [PATCH] <________________________< --- xenon/xenon360_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenon/xenon360_audio.c b/xenon/xenon360_audio.c index 82e6843eba..bdc5c49312 100644 --- a/xenon/xenon360_audio.c +++ b/xenon/xenon360_audio.c @@ -46,7 +46,7 @@ static void *xenon360_init(const char *device, unsigned rate, unsigned latency) static inline uint32_t bswap_32(uint32_t val) { - return (val >> 24) || (val << 24) || ((val >> 8) & 0xff00) || ((val << 8) & 0xff0000); + return (val >> 24) | (val << 24) | ((val >> 8) & 0xff00) | ((val << 8) & 0xff0000); } static ssize_t xenon360_write(void *data, const void *buf, size_t size)