Fixed: Compiling with mingw once again works, although savegame loading problems are not yet fixed.
SVN r31 (trunk)
This commit is contained in:
parent
e815474cbe
commit
ec4b8719aa
17 changed files with 76 additions and 66 deletions
|
|
@ -181,7 +181,7 @@ bool FCDThread::Init ()
|
|||
return false;
|
||||
|
||||
CD_Window = CreateWindow (
|
||||
(LPCTSTR)CD_WindowAtom,
|
||||
(LPCTSTR)(int)CD_WindowAtom,
|
||||
"ZDoom CD Player",
|
||||
0,
|
||||
0, 0, 10, 10,
|
||||
|
|
@ -192,7 +192,7 @@ bool FCDThread::Init ()
|
|||
|
||||
if (CD_Window == NULL)
|
||||
{
|
||||
UnregisterClass ((LPCTSTR)CD_WindowAtom, g_hInst);
|
||||
UnregisterClass ((LPCTSTR)(int)CD_WindowAtom, g_hInst);
|
||||
CD_WindowAtom = 0;
|
||||
return false;
|
||||
}
|
||||
|
|
@ -217,7 +217,7 @@ void FCDThread::Deinit ()
|
|||
}
|
||||
if (CD_WindowAtom)
|
||||
{
|
||||
UnregisterClass ((LPCTSTR)CD_WindowAtom, g_hInst);
|
||||
UnregisterClass ((LPCTSTR)(int)CD_WindowAtom, g_hInst);
|
||||
CD_WindowAtom = 0;
|
||||
}
|
||||
if (DeviceID)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue