diff options
Diffstat (limited to 'dist2/src/pcre2_xclass.c')
-rw-r--r-- | dist2/src/pcre2_xclass.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dist2/src/pcre2_xclass.c b/dist2/src/pcre2_xclass.c index 8b052be6..407d3f5b 100644 --- a/dist2/src/pcre2_xclass.c +++ b/dist2/src/pcre2_xclass.c @@ -7,7 +7,7 @@ and semantics are as close as possible to those of the Perl 5 language. Written by Philip Hazel Original API code Copyright (c) 1997-2012 University of Cambridge - New API code Copyright (c) 2016-2019 University of Cambridge + New API code Copyright (c) 2016 University of Cambridge ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without @@ -85,10 +85,10 @@ if (c < 256) if ((*data & XCL_HASPROP) == 0) { if ((*data & XCL_MAP) == 0) return negated; - return (((uint8_t *)(data + 1))[c/8] & (1u << (c&7))) != 0; + return (((uint8_t *)(data + 1))[c/8] & (1 << (c&7))) != 0; } if ((*data & XCL_MAP) != 0 && - (((uint8_t *)(data + 1))[c/8] & (1u << (c&7))) != 0) + (((uint8_t *)(data + 1))[c/8] & (1 << (c&7))) != 0) return !negated; /* char found */ } |