mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 16:35:49 +00:00
fixing a typcast do it compile on gcc 4.0 thx w3seek
svn path=/trunk/; revision=21536
This commit is contained in:
parent
6cc73a301f
commit
a7013502aa
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue