summaryrefslogtreecommitdiffhomepage
path: root/src/argv/ntapi_tt_array_utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/argv/ntapi_tt_array_utf8.c')
-rw-r--r--src/argv/ntapi_tt_array_utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/argv/ntapi_tt_array_utf8.c b/src/argv/ntapi_tt_array_utf8.c
index 4cd3dfa..ed8dd9a 100644
--- a/src/argv/ntapi_tt_array_utf8.c
+++ b/src/argv/ntapi_tt_array_utf8.c
@@ -375,7 +375,7 @@ int32_t __stdcall __ntapi_tt_array_convert_utf8_to_utf16(
if (byte_count) {
__utf8_to_utf16_handlers[byte_count](wch,utf8);
- wch = &wch[byte_count >> 3];
+ wch = &wch[byte_count >> 2];
wch++;
} else {
return NT_STATUS_ILLEGAL_CHARACTER;