Commit b543c40d authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

msvidc32: Fix size parameter for memset (Coccinelle).

parent 133ed6ba
...@@ -508,7 +508,7 @@ LRESULT WINAPI CRAM_DriverProc( DWORD_PTR dwDriverId, HDRVR hdrvr, UINT msg, ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment