From 2d08f90d76a788f75e5552d65c4217c107872527 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Fri, 21 Mar 2008 15:29:51 +0000 Subject: [PATCH] winedos: Assign to struct instead of using memcpy. --- dlls/winedos/int21.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winedos/int21.c b/dlls/winedos/int21.c index ac9971431e2..3b6071940c6 100644 --- a/dlls/winedos/int21.c +++ b/dlls/winedos/int21.c @@ -2959,7 +2959,7 @@ static BOOL INT21_Fat32( CONTEXT86 *context ) source = &INT21_GetHeapPointer()->misc_dpb_list[drive]; *ptr = sizeof(INT21_DPB); - memcpy( target, source, sizeof(INT21_DPB)); + *target = *source; if (LOWORD(context->Esi) != 0xF1A6) {