krnl386.exe16: Avoid hardcoding the Unicode string literal lengths.
Francois Gouget
fgouget at free.fr
Fri Dec 16 06:07:35 CST 2011
---
dlls/krnl386.exe16/int21.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/krnl386.exe16/int21.c b/dlls/krnl386.exe16/int21.c
index f8e235a..241ecc1 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;
--
1.7.7.3
More information about the wine-patches
mailing list