summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-14 05:33:13 +0000
committermidipix <writeonce@midipix.org>2016-12-15 01:47:46 -0500
commitee679ad54e06fcb6f6385abd697c89de635139f7 (patch)
treedbb93d530f35cf7ae5e8fa81d0727e5d81f9232c /src
parentd8a635ad2bfb881a339d37f3abc21a77b49362a6 (diff)
downloadntapi-ee679ad54e06fcb6f6385abd697c89de635139f7.tar.bz2
ntapi-ee679ad54e06fcb6f6385abd697c89de635139f7.tar.xz
__ntapi_ldr_load_system_dll(): have size match strlen in nt_unicode_string.
Diffstat (limited to 'src')
-rw-r--r--src/ldr/ntapi_ldr_load_system_dll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldr/ntapi_ldr_load_system_dll.c b/src/ldr/ntapi_ldr_load_system_dll.c
index 306d8e9..0e401a1 100644
--- a/src/ldr/ntapi_ldr_load_system_dll.c
+++ b/src/ldr/ntapi_ldr_load_system_dll.c
@@ -12,7 +12,7 @@
int32_t __stdcall __ntapi_ldr_load_system_dll(
__in void * hsysdir __optional,
__in wchar16_t * base_name,
- __in uint32_t base_name_size,
+ __in uint16_t base_name_size,
__in uint32_t * image_flags __optional,
__out void ** image_base)
{