atl: Fix a comparison between signed and unsigned.

Michael Stefaniuc mstefani at redhat.de
Mon Feb 12 17:13:00 CST 2007


This was rotting in my git tree waiting for me to do more signedness
work. It's the only signedness problem in atl.

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

diff --git a/dlls/atl/registrar.c b/dlls/atl/registrar.c
index 612ebda..6fa2fbd 100644
--- a/dlls/atl/registrar.c
+++ b/dlls/atl/registrar.c
@@ -360,7 +360,7 @@ static HRESULT do_process_root_key(LPCOLESTR data, BOOL do_register)
     LPCOLESTR iter = data;
     strbuf buf;
     HRESULT hres = S_OK;
-    int i;
+    unsigned int i;
 
     strbuf_init(&buf);
     hres = get_word(&iter, &buf);
-- 
1.4.4.2


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
Red Hat GmbH                    Email: mstefani at redhat.com
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070213/6dc581a8/attachment.pgp


More information about the wine-patches mailing list