Francois Gouget : urlmon: Print GetLastError() in decimal with '%u'.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Jan 5 13:36:05 CST 2007


Module: wine
Branch: master
Commit: 4dc5c7aedececcdba5b65d1091b52163034c6c72
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=4dc5c7aedececcdba5b65d1091b52163034c6c72

Author: Francois Gouget <fgouget at free.fr>
Date:   Fri Jan  5 13:05:31 2007 +0100

urlmon: Print GetLastError() in decimal with '%u'.

---

 dlls/urlmon/umon.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/urlmon/umon.c b/dlls/urlmon/umon.c
index 7f69580..c8cef9c 100644
--- a/dlls/urlmon/umon.c
+++ b/dlls/urlmon/umon.c
@@ -711,7 +711,7 @@ static HRESULT URLMonikerImpl_BindToStor
                     }
                     if(bSuccess)
                     {
-                        TRACE("res = %d gle = %08x url len = %d\n", hres, GetLastError(), bind->expected_size);
+                        TRACE("res = %d gle = %u url len = %d\n", hres, GetLastError(), bind->expected_size);
 
                         IBindStatusCallback_OnProgress(bind->pbscb, 0, 0, BINDSTATUS_CACHEFILENAMEAVAILABLE, szFileName);
 
@@ -765,7 +765,7 @@ static HRESULT WINAPI URLMonikerImpl_Bin
 
     bret = InternetCrackUrlW(This->URLName, 0, ICU_ESCAPE, &url);
     if(!bret) {
-        ERR("InternetCrackUrl failed: %d\n", GetLastError());
+        ERR("InternetCrackUrl failed: %u\n", GetLastError());
         return E_FAIL;
     }
 




More information about the wine-cvs mailing list