mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
- Fix warnings
svn path=/trunk/; revision=16773
This commit is contained in:
parent
2596f83747
commit
ffcb5d176a
2 changed files with 5 additions and 3 deletions
|
@ -456,15 +456,15 @@ static DWORD MCI_UnmapMsgAtoW(UINT msg, DWORD_PTR dwParam1, DWORD_PTR dwParam2,
|
|||
if (dwParam1 & MCI_OPEN_TYPE)
|
||||
{
|
||||
if (!(dwParam1 & MCI_OPEN_TYPE_ID))
|
||||
HeapFree(GetProcessHeap(), 0, mci_openW->lpstrDeviceType);
|
||||
HeapFree(GetProcessHeap(), 0, (PVOID)mci_openW->lpstrDeviceType);
|
||||
}
|
||||
if (dwParam1 & MCI_OPEN_ELEMENT)
|
||||
{
|
||||
if (!(dwParam1 & MCI_OPEN_ELEMENT_ID))
|
||||
HeapFree(GetProcessHeap(), 0, mci_openW->lpstrElementName);
|
||||
HeapFree(GetProcessHeap(), 0, (PVOID)mci_openW->lpstrElementName);
|
||||
}
|
||||
if (dwParam1 & MCI_OPEN_ALIAS)
|
||||
HeapFree(GetProcessHeap(), 0, mci_openW->lpstrAlias);
|
||||
HeapFree(GetProcessHeap(), 0, (PVOID)mci_openW->lpstrAlias);
|
||||
HeapFree(GetProcessHeap(), 0, ptr);
|
||||
}
|
||||
break;
|
||||
|
|
|
@ -103,8 +103,10 @@ static void WINMM_DeleteIData(void)
|
|||
* WINMM_LoadMMSystem
|
||||
*
|
||||
*/
|
||||
#ifndef __REACTOS__
|
||||
static HANDLE (WINAPI *pGetModuleHandle16)(LPCSTR);
|
||||
static DWORD (WINAPI *pLoadLibrary16)(LPCSTR);
|
||||
#endif
|
||||
|
||||
BOOL WINMM_CheckForMMSystem(void)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue