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) );
|
||||
if( info )
|
||||
{
|
||||
memset( info, 0, sizeof info );
|
||||
memset( info, 0, sizeof *info );
|
||||
info->dwMagic = CRAM_MAGIC;
|
||||
}
|
||||
r = (LRESULT) info;
|
||||
|
|
Loading…
Reference in New Issue