summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/argv/ntapi_tt_get_option.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/argv/ntapi_tt_get_option.c b/src/argv/ntapi_tt_get_option.c
index b13ae4e..6cb3993 100644
--- a/src/argv/ntapi_tt_get_option.c
+++ b/src/argv/ntapi_tt_get_option.c
@@ -52,10 +52,9 @@
#define EQUAL_SIGN 0x3D
-static __inline__ __fastcall int __is_bmp_code_point(wchar16_t code_point)
+static __inline__ __fastcall int __is_bmp_code_point(uint16_t code_point)
{
- return (((code_point >= 0x0000) && (code_point < 0xD800)) \
- || (code_point >= 0xE000));
+ return ((code_point < 0xD800) || (code_point >= 0xE000));
}