diff --git a/dlls/winedos/int10.c b/dlls/winedos/int10.c index a056cb6e61d..94ea6ff2e4a 100644 --- a/dlls/winedos/int10.c +++ b/dlls/winedos/int10.c @@ -548,7 +548,7 @@ static BOOL INT10_FillModeInformation( struct _ModeInfoBlock *mib, WORD mode ) mib->MaxPixelClock = 0; /* FIXME */ /* 66 - BYTE[190]: reserved, set to zero */ - memset( &mib->Reserved4, 0, 190 ); + memset( mib->Reserved4, 0, 190 ); return TRUE; } diff --git a/dlls/winedos/vga.c b/dlls/winedos/vga.c index 26618a24ee3..fd52689209d 100644 --- a/dlls/winedos/vga.c +++ b/dlls/winedos/vga.c @@ -563,7 +563,7 @@ void VGA_Set16Palette(char *Table) int c; if (!lpddraw) return; /* return if we're in text only mode */ - memcpy( Table, &vga_16_palette, 17 ); /* copy the entries into the table */ + memcpy( Table, vga_16_palette, 17 ); /* copy the entries into the table */ for (c=0; c<17; c++) { /* 17 entries */ pal= &vga_def64_palette[(int)vga_16_palette[c]]; /* get color */ @@ -577,7 +577,7 @@ void VGA_Get16Palette(char *Table) { if (!lpddraw) return; /* return if we're in text only mode */ - memcpy( &vga_16_palette, Table, 17 ); /* copy the entries into the table */ + memcpy( vga_16_palette, Table, 17 ); /* copy the entries into the table */ } void VGA_SetQuadPalette(RGBQUAD*color,int start,int len)