mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-01 04:13:35 +00:00
fixing a typcast do it compile on gcc 4.0 thx w3seek
svn path=/trunk/; revision=21536
This commit is contained in:
@@ -121,7 +121,7 @@ Main_DirectDraw_AddRef (LPDIRECTDRAW7 iface)
|
||||
|
||||
if (iface!=NULL)
|
||||
{
|
||||
ref = InterlockedIncrement(&This->ref);
|
||||
ref = InterlockedIncrement( (PLONG) &This->ref);
|
||||
}
|
||||
return ref;
|
||||
}
|
||||
@@ -143,7 +143,7 @@ Main_DirectDraw_Release (LPDIRECTDRAW7 iface)
|
||||
|
||||
if (iface!=NULL)
|
||||
{
|
||||
ref = InterlockedDecrement(&This->ref);
|
||||
ref = InterlockedDecrement( (PLONG) &This->ref);
|
||||
|
||||
if (ref == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user