mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
wing32: Use the correct size for memcpy (coverity).
This commit is contained in:
parent
859bf8d9e9
commit
7b07e015a9
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ void * WINAPI WinGGetDIBPointer( HBITMAP hbmp, BITMAPINFO *bmi )
|
|||
|
||||
if (GetObjectW( hbmp, sizeof(ds), &ds ) == sizeof(ds))
|
||||
{
|
||||
memcpy( &bmi->bmiHeader, &ds.dsBmih, sizeof(bmi->bmiHeader) );
|
||||
bmi->bmiHeader = ds.dsBmih;
|
||||
return ds.dsBm.bmBits;
|
||||
}
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue