diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2021-03-20 01:31:45 +0100 |
---|---|---|
committer | Shane Lontis <shane.lontis@oracle.com> | 2021-03-24 10:04:08 +1000 |
commit | 0dd19e750f730b44a38ee5c8aaf235f690386f9b (patch) | |
tree | ee41427fba76f414629f357b3fa328cf4ee9cd83 | |
parent | 218e1263c4f2ac014859bcd6b72d0e66a3f75d95 (diff) |
Fix a windows build break
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/14635)
-rw-r--r-- | include/internal/unicode.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/internal/unicode.h b/include/internal/unicode.h index 3dcdcd2c89..a6de8352d6 100644 --- a/include/internal/unicode.h +++ b/include/internal/unicode.h @@ -18,12 +18,12 @@ typedef enum { UNICODE_LIMIT } UNICODE_CONSTANTS; -static ossl_unused inline int is_unicode_surrogate(unsigned long value) +static ossl_unused ossl_inline int is_unicode_surrogate(unsigned long value) { return value >= SURROGATE_MIN && value <= SURROGATE_MAX; } -static ossl_unused inline int is_unicode_valid(unsigned long value) +static ossl_unused ossl_inline int is_unicode_valid(unsigned long value) { return value <= UNICODE_MAX && !is_unicode_surrogate(value); } |