diff options
author | Karl Williamson <public@khwilliamson.com> | 2013-03-06 21:30:01 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-08-29 09:56:01 -0600 |
commit | 4ed7d5f0cb38287a10b5b2650dc8f62e5f67eafc (patch) | |
tree | b1aabd55e70f6b7b76fcd61848dd553ee5d0ed10 /utfebcdic.h | |
parent | 3ded5eb052cdc3f861ec0c0ff85348086d653be0 (diff) | |
download | perl-4ed7d5f0cb38287a10b5b2650dc8f62e5f67eafc.tar.gz |
utfebcdic.h: Add (UV) cast
The operand of this macro is implicitly a UV. Make sure that it is.
Diffstat (limited to 'utfebcdic.h')
-rw-r--r-- | utfebcdic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utfebcdic.h b/utfebcdic.h index 6a23433f1e..88aa763a65 100644 --- a/utfebcdic.h +++ b/utfebcdic.h @@ -709,7 +709,7 @@ END_EXTERN_C (uv) < 0x400000 ? 5 : \ (uv) < 0x4000000 ? 6 : 7 ) -#define UNI_IS_INVARIANT(c) ((c) < 0xA0) +#define UNI_IS_INVARIANT(c) (((UV)(c)) < 0xA0) /* UTF-EBCDIC semantic macros - transform back into I8 and then compare * Comments as to the meaning of each are given at their corresponding utf8.h |