Fix -Wpointer-sign warnings.
This commit is contained in:
parent
e28c014a84
commit
058e38af72
|
@ -43,7 +43,7 @@ typedef struct SecManagerImpl{
|
|||
|
||||
const IInternetSecurityManagerVtbl* lpvtbl1; /* VTable relative to the IInternetSecurityManager interface.*/
|
||||
|
||||
ULONG ref; /* reference counter for this object */
|
||||
LONG ref; /* reference counter for this object */
|
||||
|
||||
} SecManagerImpl;
|
||||
|
||||
|
@ -210,7 +210,7 @@ HRESULT SecManagerImpl_Construct(IUnknown *pUnkOuter, LPVOID *ppobj)
|
|||
*/
|
||||
typedef struct {
|
||||
const IInternetZoneManagerVtbl* lpVtbl;
|
||||
ULONG ref;
|
||||
LONG ref;
|
||||
} ZoneMgrImpl;
|
||||
|
||||
/********************************************************************
|
||||
|
|
|
@ -51,7 +51,7 @@ static const WCHAR BSCBHolder[] = { '_','B','S','C','B','_','H','o','l','d','e',
|
|||
typedef struct {
|
||||
const IBindingVtbl *lpVtbl;
|
||||
|
||||
ULONG ref;
|
||||
LONG ref;
|
||||
|
||||
LPWSTR URLName;
|
||||
|
||||
|
@ -291,7 +291,7 @@ typedef struct {
|
|||
|
||||
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 */
|
||||
} URLMonikerImpl;
|
||||
|
|
|
@ -253,7 +253,8 @@ static HRESULT WINAPI IStream_fnSeek ( IStream * iface,
|
|||
DWORD dwOrigin,
|
||||
ULARGE_INTEGER* plibNewPosition)
|
||||
{
|
||||
DWORD pos, newposlo, newposhi;
|
||||
DWORD pos, newposlo;
|
||||
LONG newposhi;
|
||||
|
||||
IUMCacheStream *This = (IUMCacheStream *)iface;
|
||||
|
||||
|
@ -262,7 +263,7 @@ static HRESULT WINAPI IStream_fnSeek ( IStream * iface,
|
|||
pos = dlibMove.QuadPart; /* FIXME: truncates */
|
||||
newposhi = 0;
|
||||
newposlo = SetFilePointer( This->handle, pos, &newposhi, dwOrigin );
|
||||
if( newposlo == INVALID_SET_FILE_POINTER )
|
||||
if( newposlo == INVALID_SET_FILE_POINTER && GetLastError())
|
||||
return E_FAIL;
|
||||
|
||||
if (plibNewPosition)
|
||||
|
|
|
@ -89,7 +89,7 @@ HRESULT WINAPI URLMON_DllCanUnloadNow(void)
|
|||
typedef struct {
|
||||
IClassFactory ITF_IClassFactory;
|
||||
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
HRESULT (*pfnCreateInstance)(IUnknown *pUnkOuter, LPVOID *ppObj);
|
||||
} IClassFactoryImpl;
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@ static inline void URLMON_UnlockModule(void) { InterlockedDecrement( &URLMON_ref
|
|||
typedef struct
|
||||
{
|
||||
const IStreamVtbl *lpVtbl;
|
||||
DWORD ref;
|
||||
LONG ref;
|
||||
HANDLE handle;
|
||||
BOOL closed;
|
||||
WCHAR *pszFileName;
|
||||
|
|
Loading…
Reference in New Issue