diff options
Diffstat (limited to 'ports/sysdeps/ia64/bits/byteswap.h')
-rw-r--r-- | ports/sysdeps/ia64/bits/byteswap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/sysdeps/ia64/bits/byteswap.h b/ports/sysdeps/ia64/bits/byteswap.h index 68612487d3..d363c3e1cf 100644 --- a/ports/sysdeps/ia64/bits/byteswap.h +++ b/ports/sysdeps/ia64/bits/byteswap.h @@ -25,7 +25,7 @@ /* Swap bytes in 16 bit value. */ #define __bswap_constant_16(x) \ - ((((x) >> 8) & 0xff) | (((x) & 0xff) << 8)) + ((unsigned short int)((((x) >> 8) & 0xff) | (((x) & 0xff) << 8))) /* Get __bswap_16. */ #include <bits/byteswap-16.h> |