Commit 058e38af authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Fix -Wpointer-sign warnings.

parent e28c014a
...@@ -43,7 +43,7 @@ typedef struct SecManagerImpl{ ...@@ -43,7 +43,7 @@ typedef struct SecManagerImpl{
const IInternetSecurityManagerVtbl* lpvtbl1; /* VTable relative to the IInternetSecurityManager interface.*/ const IInternetSecurityManagerVtbl* lpvtbl1; /* VTable relative to the IInternetSecurityManager interface.*/
ULONG ref; /* reference counter for this object */ LONG ref; /* reference counter for this object */
} SecManagerImpl; } SecManagerImpl;
...@@ -210,7 +210,7 @@ HRESULT SecManagerImpl_Construct(IUnknown *pUnkOuter, LPVOID *ppobj) ...@@ -210,7 +210,7 @@ HRESULT SecManagerImpl_Construct(IUnknown *pUnkOuter, LPVOID *ppobj)
*/ */
typedef struct { typedef struct {
const IInternetZoneManagerVtbl* lpVtbl; const IInternetZoneManagerVtbl* lpVtbl;
ULONG ref; LONG ref;
} ZoneMgrImpl; } ZoneMgrImpl;
/******************************************************************** /********************************************************************
......
...@@ -51,7 +51,7 @@ static const WCHAR BSCBHolder[] = { '_','B','S','C','B','_','H','o','l','d','e', ...@@ -51,7 +51,7 @@ static const WCHAR BSCBHolder[] = { '_','B','S','C','B','_','H','o','l','d','e',
typedef struct { typedef struct {
const IBindingVtbl *lpVtbl; const IBindingVtbl *lpVtbl;
ULONG ref; LONG ref;
LPWSTR URLName; LPWSTR URLName;
...@@ -291,7 +291,7 @@ typedef struct { ...@@ -291,7 +291,7 @@ typedef struct {
const IMonikerVtbl* lpvtbl; /* VTable relative to the IMoniker interface.*/ const IMonikerVtbl* lpvtbl; /* VTable relative to the IMoniker interface.*/
ULONG ref; /* reference counter for this object */ LONG ref; /* reference counter for this object */
LPOLESTR URLName; /* URL string identified by this URLmoniker */ LPOLESTR URLName; /* URL string identified by this URLmoniker */
} URLMonikerImpl; } URLMonikerImpl;
......
...@@ -253,7 +253,8 @@ static HRESULT WINAPI IStream_fnSeek ( IStream * iface, ...@@ -253,7 +253,8 @@ static HRESULT WINAPI IStream_fnSeek ( IStream * iface,
DWORD dwOrigin, DWORD dwOrigin,
ULARGE_INTEGER* plibNewPosition) ULARGE_INTEGER* plibNewPosition)
{ {
DWORD pos, newposlo, newposhi; DWORD pos, newposlo;
LONG newposhi;
IUMCacheStream *This = (IUMCacheStream *)iface; IUMCacheStream *This = (IUMCacheStream *)iface;
...@@ -262,7 +263,7 @@ static HRESULT WINAPI IStream_fnSeek ( IStream * iface, ...@@ -262,7 +263,7 @@ static HRESULT WINAPI IStream_fnSeek ( IStream * iface,
pos = dlibMove.QuadPart; /* FIXME: truncates */ pos = dlibMove.QuadPart; /* FIXME: truncates */
newposhi = 0; newposhi = 0;
newposlo = SetFilePointer( This->handle, pos, &newposhi, dwOrigin ); newposlo = SetFilePointer( This->handle, pos, &newposhi, dwOrigin );
if( newposlo == INVALID_SET_FILE_POINTER ) if( newposlo == INVALID_SET_FILE_POINTER && GetLastError())
return E_FAIL; return E_FAIL;
if (plibNewPosition) if (plibNewPosition)
......
...@@ -89,7 +89,7 @@ HRESULT WINAPI URLMON_DllCanUnloadNow(void) ...@@ -89,7 +89,7 @@ HRESULT WINAPI URLMON_DllCanUnloadNow(void)
typedef struct { typedef struct {
IClassFactory ITF_IClassFactory; IClassFactory ITF_IClassFactory;
DWORD ref; LONG ref;
HRESULT (*pfnCreateInstance)(IUnknown *pUnkOuter, LPVOID *ppObj); HRESULT (*pfnCreateInstance)(IUnknown *pUnkOuter, LPVOID *ppObj);
} IClassFactoryImpl; } IClassFactoryImpl;
......
...@@ -40,7 +40,7 @@ static inline void URLMON_UnlockModule(void) { InterlockedDecrement( &URLMON_ref ...@@ -40,7 +40,7 @@ static inline void URLMON_UnlockModule(void) { InterlockedDecrement( &URLMON_ref
typedef struct typedef struct
{ {
const IStreamVtbl *lpVtbl; const IStreamVtbl *lpVtbl;
DWORD ref; LONG ref;
HANDLE handle; HANDLE handle;
BOOL closed; BOOL closed;
WCHAR *pszFileName; WCHAR *pszFileName;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment