diff options
author | Karl Williamson <khw@cpan.org> | 2016-09-13 16:40:44 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2016-09-17 17:22:23 -0600 |
commit | a09ec51a7fc3455257a1239b61ef7b53a6b0570d (patch) | |
tree | f6bc54242ec3e2f5dbdcd36721ede4a5fc47c170 /inline.h | |
parent | dd819584009e7adfc0786ed5beaf6c805ef05a2d (diff) | |
download | perl-a09ec51a7fc3455257a1239b61ef7b53a6b0570d.tar.gz |
append_utf8_from_native_byte: Add parens for clarity
I can never remember the precedence of dereference and ++.
Diffstat (limited to 'inline.h')
-rw-r--r-- | inline.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -269,10 +269,10 @@ S_append_utf8_from_native_byte(const U8 byte, U8** dest) PERL_ARGS_ASSERT_APPEND_UTF8_FROM_NATIVE_BYTE; if (NATIVE_BYTE_IS_INVARIANT(byte)) - *(*dest)++ = byte; + *((*dest)++) = byte; else { - *(*dest)++ = UTF8_EIGHT_BIT_HI(byte); - *(*dest)++ = UTF8_EIGHT_BIT_LO(byte); + *((*dest)++) = UTF8_EIGHT_BIT_HI(byte); + *((*dest)++) = UTF8_EIGHT_BIT_LO(byte); } } |