Skip to content

Commit

Permalink
POSIX: Save a '&' instr by casting to U8
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Jul 30, 2021
1 parent 0c10ec5 commit ef2ae5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/POSIX/POSIX.xs
Expand Up @@ -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
Expand Down

0 comments on commit ef2ae5f

Please sign in to comment.