mirror of
https://github.com/reactos/wine.git
synced 2025-03-03 18:28:58 +00:00
msvidc32: Fix size parameter for memset (Coccinelle).
This commit is contained in:
parent
133ed6bac1
commit
b543c40de4
@ -508,7 +508,7 @@ LRESULT WINAPI CRAM_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg,
|
|||||||
info = HeapAlloc( GetProcessHeap(), 0, sizeof (Msvideo1Context) );
|
info = HeapAlloc( GetProcessHeap(), 0, sizeof (Msvideo1Context) );
|
||||||
if( info )
|
if( info )
|
||||||
{
|
{
|
||||||
memset( info, 0, sizeof info );
|
memset( info, 0, sizeof *info );
|
||||||
info->dwMagic = CRAM_MAGIC;
|
info->dwMagic = CRAM_MAGIC;
|
||||||
}
|
}
|
||||||
r = (LRESULT) info;
|
r = (LRESULT) info;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user