URLMON: fix -Wpointer-sign warnings
Mike McCormack
mike at codeweavers.com
Sun Jul 3 10:37:55 CDT 2005
ChangeLog:
* fix -Wpointer-sign warnings
-------------- next part --------------
Index: dlls/urlmon/sec_mgr.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/sec_mgr.c,v
retrieving revision 1.7
diff -u -p -r1.7 sec_mgr.c
--- dlls/urlmon/sec_mgr.c 2 Jul 2005 10:49:56 -0000 1.7
+++ dlls/urlmon/sec_mgr.c 3 Jul 2005 06:39:26 -0000
@@ -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(IUnknow
*/
typedef struct {
const IInternetZoneManagerVtbl* lpVtbl;
- ULONG ref;
+ LONG ref;
} ZoneMgrImpl;
/********************************************************************
Index: dlls/urlmon/umon.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/umon.c,v
retrieving revision 1.56
diff -u -p -r1.56 umon.c
--- dlls/urlmon/umon.c 2 Jul 2005 10:49:56 -0000 1.56
+++ dlls/urlmon/umon.c 3 Jul 2005 06:39:27 -0000
@@ -51,7 +51,7 @@ static const WCHAR BSCBHolder[] = { '_',
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;
Index: dlls/urlmon/umstream.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/umstream.c,v
retrieving revision 1.1
diff -u -p -r1.1 umstream.c
--- dlls/urlmon/umstream.c 4 May 2005 10:36:54 -0000 1.1
+++ dlls/urlmon/umstream.c 3 Jul 2005 06:39:27 -0000
@@ -253,7 +253,8 @@ static HRESULT WINAPI IStream_fnSeek (
DWORD dwOrigin,
ULARGE_INTEGER* plibNewPosition)
{
- DWORD pos, newposlo, newposhi;
+ DWORD pos, newposlo;
+ LONG newposhi;
IUMCacheStream *This = (IUMCacheStream *)iface;
Index: dlls/urlmon/urlmon_main.c
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/urlmon_main.c,v
retrieving revision 1.28
diff -u -p -r1.28 urlmon_main.c
--- dlls/urlmon/urlmon_main.c 2 Jul 2005 10:49:56 -0000 1.28
+++ dlls/urlmon/urlmon_main.c 3 Jul 2005 06:39:27 -0000
@@ -89,7 +89,7 @@ HRESULT WINAPI URLMON_DllCanUnloadNow(vo
typedef struct {
IClassFactory ITF_IClassFactory;
- DWORD ref;
+ LONG ref;
HRESULT (*pfnCreateInstance)(IUnknown *pUnkOuter, LPVOID *ppObj);
} IClassFactoryImpl;
Index: dlls/urlmon/urlmon_main.h
===================================================================
RCS file: /home/wine/wine/dlls/urlmon/urlmon_main.h,v
retrieving revision 1.9
diff -u -p -r1.9 urlmon_main.h
--- dlls/urlmon/urlmon_main.h 21 Jun 2005 20:53:14 -0000 1.9
+++ dlls/urlmon/urlmon_main.h 3 Jul 2005 06:39:27 -0000
@@ -40,7 +40,7 @@ static inline void URLMON_UnlockModule(v
typedef struct
{
const IStreamVtbl *lpVtbl;
- DWORD ref;
+ LONG ref;
HANDLE handle;
BOOL closed;
WCHAR *pszFileName;
More information about the wine-patches
mailing list