diff options
Diffstat (limited to 'ext/POSIX')
-rw-r--r-- | ext/POSIX/POSIX.xs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index cb2d8d50ed..be45ac6fb9 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -1678,7 +1678,7 @@ static const struct lconv_offset lconv_integers[] = { * in the first place, though. -- Ingo Weinhold */ #if defined(__HAIKU__) -# define WMUNGE(x) (((x) & 0xFF00) >> 8 | ((x) & 0x00FF) << 8) +# define WMUNGE(x) (((x) & 0xFF00) >> 8 | (((U8) (x)) << 8)) #else # define WMUNGE(x) (x) #endif |