mciseq: Remove unneeded casts.

This commit is contained in:
Andrew Talbot 2007-12-20 22:45:37 +00:00 committed by Alexandre Julliard
parent 22f43db863
commit b98bfac4cc
1 changed files with 3 additions and 3 deletions

View File

@ -863,9 +863,9 @@ static DWORD MIDI_mciClose(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpPar
TRACE("hFile closed !\n"); TRACE("hFile closed !\n");
} }
HeapFree(GetProcessHeap(), 0, wmm->tracks); HeapFree(GetProcessHeap(), 0, wmm->tracks);
HeapFree(GetProcessHeap(), 0, (LPWSTR)wmm->lpstrElementName); HeapFree(GetProcessHeap(), 0, wmm->lpstrElementName);
HeapFree(GetProcessHeap(), 0, (LPSTR)wmm->lpstrCopyright); HeapFree(GetProcessHeap(), 0, wmm->lpstrCopyright);
HeapFree(GetProcessHeap(), 0, (LPSTR)wmm->lpstrName); HeapFree(GetProcessHeap(), 0, wmm->lpstrName);
} else { } else {
TRACE("Shouldn't happen... nUseCount=%d\n", wmm->nUseCount); TRACE("Shouldn't happen... nUseCount=%d\n", wmm->nUseCount);
return MCIERR_INTERNAL; return MCIERR_INTERNAL;