mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
fixed difference in signedness warnings
svn path=/trunk/; revision=18214
This commit is contained in:
parent
0e10526c80
commit
d5169058c9
2 changed files with 5 additions and 5 deletions
|
@ -151,7 +151,7 @@ HRESULT WINAPI Main_DirectDraw_CreateSurface (LPDIRECTDRAW7 iface, LPDDSURFACEDE
|
|||
ULONG WINAPI Main_DirectDraw_AddRef (LPDIRECTDRAW7 iface)
|
||||
{
|
||||
IDirectDrawImpl* This = (IDirectDrawImpl*)iface;
|
||||
ULONG ref = InterlockedIncrement(&This->DirectDrawGlobal.dwRefCnt);
|
||||
ULONG ref = InterlockedIncrement((PLONG)&This->DirectDrawGlobal.dwRefCnt);
|
||||
|
||||
return ref;
|
||||
}
|
||||
|
@ -159,7 +159,7 @@ ULONG WINAPI Main_DirectDraw_AddRef (LPDIRECTDRAW7 iface)
|
|||
ULONG WINAPI Main_DirectDraw_Release (LPDIRECTDRAW7 iface)
|
||||
{
|
||||
IDirectDrawImpl* This = (IDirectDrawImpl*)iface;
|
||||
ULONG ref = InterlockedDecrement(&This->DirectDrawGlobal.dwRefCnt);
|
||||
ULONG ref = InterlockedDecrement((PLONG)&This->DirectDrawGlobal.dwRefCnt);
|
||||
|
||||
if (ref == 0)
|
||||
{
|
||||
|
|
|
@ -37,7 +37,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
IDirectDrawSurface7Vtbl* lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
|
||||
IDirectDrawImpl* owner;
|
||||
|
||||
|
@ -49,7 +49,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
IDirectDrawClipperVtbl* lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
|
||||
IDirectDrawImpl* owner;
|
||||
|
||||
|
@ -61,7 +61,7 @@ typedef struct
|
|||
typedef struct
|
||||
{
|
||||
IDirectDrawPaletteVtbl* lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
|
||||
IDirectDrawImpl* owner;
|
||||
|
||||
|
|
Loading…
Reference in a new issue