mirror of
https://github.com/reactos/wine.git
synced 2025-03-03 10:17:23 +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) );
|
||||
if( info )
|
||||
{
|
||||
memset( info, 0, sizeof info );
|
||||
memset( info, 0, sizeof *info );
|
||||
info->dwMagic = CRAM_MAGIC;
|
||||
}
|
||||
r = (LRESULT) info;
|
||||
|
Loading…
x
Reference in New Issue
Block a user