- Fix warnings
Modified: trunk/reactos/lib/winmm/mci.c
Modified: trunk/reactos/lib/winmm/winmm.c

Modified: trunk/reactos/lib/winmm/mci.c
--- trunk/reactos/lib/winmm/mci.c	2005-07-27 01:14:00 UTC (rev 16772)
+++ trunk/reactos/lib/winmm/mci.c	2005-07-27 01:22:46 UTC (rev 16773)
@@ -456,15 +456,15 @@
             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;

Modified: trunk/reactos/lib/winmm/winmm.c
--- trunk/reactos/lib/winmm/winmm.c	2005-07-27 01:14:00 UTC (rev 16772)
+++ trunk/reactos/lib/winmm/winmm.c	2005-07-27 01:22:46 UTC (rev 16773)
@@ -103,8 +103,10 @@
  *             WINMM_LoadMMSystem
  *
  */
+#ifndef __REACTOS__
 static HANDLE (WINAPI *pGetModuleHandle16)(LPCSTR);
 static DWORD (WINAPI *pLoadLibrary16)(LPCSTR);
+#endif
 
 BOOL WINMM_CheckForMMSystem(void)
 {