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

Francois Gouget fgouget at free.fr
Fri Jan 5 05:54:17 CST 2007


---

Since my last patches I have realized that GetLastError() returns an 
unsigned int (DWORD). So replacing '%x' with '%u' would be more correct 
and this is what I'm going to do from now on.

 dlls/qcap/v4l.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/qcap/v4l.c b/dlls/qcap/v4l.c
index ea844d1..bfc5236 100644
--- a/dlls/qcap/v4l.c
+++ b/dlls/qcap/v4l.c
@@ -689,7 +689,7 @@ HRESULT qcap_driver_run(Capture *capBox, FILTER_STATE *state)
             LeaveCriticalSection(&capBox->CritSect);
             return S_OK;
         }
-        ERR("Creating thread failed.. %x\n", GetLastError());
+        ERR("Creating thread failed.. %u\n", GetLastError());
         LeaveCriticalSection(&capBox->CritSect);
         return E_FAIL;
     }
-- 
1.4.4.2




More information about the wine-patches mailing list