Author: greatlrd
Date: Sun Apr 9 22:28:53 2006
New Revision: 21536
URL:
http://svn.reactos.ru/svn/reactos?rev=21536&view=rev
Log:
fixing a typcast do it compile on gcc 4.0 thx w3seek
Modified:
trunk/reactos/dll/directx/ddraw/main/ddraw_main.c
Modified: trunk/reactos/dll/directx/ddraw/main/ddraw_main.c
URL:
http://svn.reactos.ru/svn/reactos/trunk/reactos/dll/directx/ddraw/main/ddra…
==============================================================================
--- trunk/reactos/dll/directx/ddraw/main/ddraw_main.c (original)
+++ trunk/reactos/dll/directx/ddraw/main/ddraw_main.c Sun Apr 9 22:28:53 2006
@@ -121,7 +121,7 @@
if (iface!=NULL)
{
- ref = InterlockedIncrement(&This->ref);
+ ref = InterlockedIncrement( (PLONG) &This->ref);
}
return ref;
}
@@ -143,7 +143,7 @@
if (iface!=NULL)
{
- ref = InterlockedDecrement(&This->ref);
+ ref = InterlockedDecrement( (PLONG) &This->ref);
if (ref == 0)
{