wineoss.drv: Fixed incorrect sizeof() (Coverity).

This commit is contained in:
Marcus Meissner 2011-02-23 03:22:52 +01:00 committed by Alexandre Julliard
parent 6d887f072f
commit 242cbcaa27
1 changed files with 1 additions and 1 deletions

View File

@ -297,7 +297,7 @@ static BOOL supportedFormat(LPWAVEFORMATEX wf)
void copy_format(LPWAVEFORMATEX wf1, LPWAVEFORMATPCMEX wf2)
{
ZeroMemory(wf2, sizeof(wf2));
ZeroMemory(wf2, sizeof(*wf2));
if (wf1->wFormatTag == WAVE_FORMAT_PCM)
memcpy(wf2, wf1, sizeof(PCMWAVEFORMAT));
else if (wf1->wFormatTag == WAVE_FORMAT_EXTENSIBLE)