| commit | 2d08f90d76a788f75e5552d65c4217c107872527 | [log] [tgz] |
|---|---|---|
| author | Andrew Talbot <andrew.talbot@talbotville.com> | Fri Mar 21 15:29:51 2008 +0000 |
| committer | Alexandre Julliard <julliard@winehq.org> | Sat Mar 22 13:21:00 2008 +0100 |
| tree | 94222005422440c432d937e90c8803a8630e0b16 | |
| parent | 740b56e87be64da60af9d23ea16291587a158edb [diff] |
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 @@ source = &INT21_GetHeapPointer()->misc_dpb_list[drive]; *ptr = sizeof(INT21_DPB); - memcpy( target, source, sizeof(INT21_DPB)); + *target = *source; if (LOWORD(context->Esi) != 0xF1A6) {