Skip to content
Snippets Groups Projects
Commit 7b07e015 authored by André Zwing's avatar André Zwing Committed by Alexandre Julliard
Browse files

wing32: Use the correct size for memcpy (coverity).

parent 859bf8d9
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment