Commit 3703b44d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Win32 eject: use correct type for MCI_OPEN_PARMS structure

parent cb94c661
......@@ -128,7 +128,7 @@ static int intf_Eject( vlc_object_t *p_this, const char *psz_device )
char psz_drive[4];
memset( &op, 0, sizeof(MCI_OPEN_PARMS) );
op.lpstrDeviceType = (LPCSTR)MCI_DEVTYPE_CD_AUDIO;
op.lpstrDeviceType = (LPCTSTR)MCI_DEVTYPE_CD_AUDIO;
strcpy( psz_drive, "X:" );
psz_drive[0] = psz_device[0];
......
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