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)
             return S_OK;
-        ERR("Creating thread failed.. %x\n", GetLastError());
+        ERR("Creating thread failed.. %u\n", GetLastError());
         return E_FAIL;

More information about the wine-patches mailing list