winedos: Assign to struct instead of using memcpy
Andrew Talbot
andrew.talbot at talbotville.com
Fri Mar 21 10:29:51 CDT 2008
Changelog:
winedos: Assign to struct instead of using memcpy.
diff --git a/dlls/winedos/int21.c b/dlls/winedos/int21.c
index ac99714..3b60719 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)
{
More information about the wine-patches
mailing list