fixing warning introduced by __WCHAR_MAX__ patch
This commit is contained in:
parent
b3534def42
commit
50aedb099c
@ -47,6 +47,7 @@ unsigned long der_utf8_charsize(const wchar_t c)
|
|||||||
*/
|
*/
|
||||||
int der_utf8_valid_char(const wchar_t c)
|
int der_utf8_valid_char(const wchar_t c)
|
||||||
{
|
{
|
||||||
|
LTC_UNUSED_PARAM(c);
|
||||||
#if !defined(__WCHAR_MAX__) || __WCHAR_MAX__ > 0xFFFF
|
#if !defined(__WCHAR_MAX__) || __WCHAR_MAX__ > 0xFFFF
|
||||||
if (c > 0x10FFFF) return 0;
|
if (c > 0x10FFFF) return 0;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user