ole32: public_refs in ifproxy_release_public_refs should be unsigned.

Robert Shearman rob at codeweavers.com
Thu Feb 8 01:53:42 CST 2007


---
  dlls/ole32/marshal.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
diff --git a/dlls/ole32/marshal.c b/dlls/ole32/marshal.c
index e79e93d..48cfc7b 100644
--- a/dlls/ole32/marshal.c
+++ b/dlls/ole32/marshal.c
@@ -511,7 +511,7 @@ static HRESULT ifproxy_get_public_ref(st
 static HRESULT ifproxy_release_public_refs(struct ifproxy * This)
 {
     HRESULT hr = S_OK;
-    LONG public_refs;
+    ULONG public_refs;
 
     if (WAIT_OBJECT_0 != WaitForSingleObject(This->parent->remoting_mutex, INFINITE))
     {
@@ -524,7 +524,7 @@ static HRESULT ifproxy_release_public_re
     {
         IRemUnknown *remunk = NULL;
 
-        TRACE("releasing %d refs\n", public_refs);
+        TRACE("releasing %u refs\n", public_refs);
 
         hr = proxy_manager_get_remunknown(This->parent, &remunk);
         if (hr == S_OK)


More information about the wine-patches mailing list