From 95577f33681b3c880fbf83a7e75bfbc00e13beb5 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Fri, 16 Dec 2011 13:07:35 +0100 Subject: [PATCH] krnl386.exe16: Avoid hardcoding the Unicode string literal lengths. --- dlls/krnl386.exe16/int21.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/krnl386.exe16/int21.c b/dlls/krnl386.exe16/int21.c index f8e235ad707..241ecc1f513 100644 --- a/dlls/krnl386.exe16/int21.c +++ b/dlls/krnl386.exe16/int21.c @@ -599,7 +599,7 @@ static WORD INT21_GetHeapSelector( CONTEXT *context ) */ static BOOL INT21_FillDrivePB( BYTE drive ) { - WCHAR drivespec[3] = {'A', ':', 0}; + WCHAR drivespec[] = {'A', ':', 0}; INT21_HEAP *heap = INT21_GetHeapPointer(); INT21_DPB *dpb; UINT drivetype;