Commit 22f43db8 authored by Andrew Talbot's avatar Andrew Talbot Committed by Alexandre Julliard

mciavi32: Remove unneeded casts.

parent 4a35f62d
......@@ -305,7 +305,7 @@ DWORD MCIAVI_mciClose(UINT wDevID, DWORD dwFlags, LPMCI_GENERIC_PARMS lpParms)
MCIAVI_mciStop(wDevID, MCI_WAIT, NULL);
wma = (WINE_MCIAVI *)MCIAVI_mciGetOpenDev(wDevID);
wma = MCIAVI_mciGetOpenDev(wDevID);
if (wma == NULL) return MCIERR_INVALID_DEVICE_ID;
EnterCriticalSection(&wma->cs);
......@@ -402,7 +402,7 @@ static DWORD MCIAVI_mciPlay(UINT wDevID, DWORD dwFlags, LPMCI_PLAY_PARMS lpParms
if (lpParms == NULL) return MCIERR_NULL_PARAMETER_BLOCK;
wma = (WINE_MCIAVI *)MCIAVI_mciGetOpenDev(wDevID);
wma = MCIAVI_mciGetOpenDev(wDevID);
if (wma == NULL) return MCIERR_INVALID_DEVICE_ID;
EnterCriticalSection(&wma->cs);
......
......@@ -494,7 +494,7 @@ paint_frame:
static void CALLBACK MCIAVI_waveCallback(HWAVEOUT hwo, UINT uMsg, DWORD_PTR dwInstance,
DWORD_PTR dwParam1, DWORD_PTR dwParam2)
{
WINE_MCIAVI *wma = (WINE_MCIAVI *)MCIAVI_mciGetOpenDev(dwInstance);
WINE_MCIAVI *wma = MCIAVI_mciGetOpenDev(dwInstance);
if (!wma) return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment