Commit a1a2de18 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

winealsa.drv: Fixed bad sizeof (pointer vs struct) (Coverity).

parent a6424b94
......@@ -351,7 +351,7 @@ void ALSA_copyFormat(LPWAVEFORMATEX wf1, LPWAVEFORMATPCMEX wf2)
{
unsigned int iLength;
ZeroMemory(wf2, sizeof(wf2));
ZeroMemory(wf2, sizeof(*wf2));
if (wf1->wFormatTag == WAVE_FORMAT_PCM)
iLength = sizeof(PCMWAVEFORMAT);
else if (wf1->wFormatTag == WAVE_FORMAT_EXTENSIBLE)
......
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