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

This commit is contained in:
Marcus Meissner 2011-03-14 08:36:47 +01:00 committed by Alexandre Julliard
parent a6424b9445
commit a1a2de1853
1 changed files with 1 additions and 1 deletions

View File

@ -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)