Andrew Talbot : urlmon: Avoid signed-unsigned integer comparisons.
Alexandre Julliard
julliard at winehq.org
Wed Feb 27 14:41:57 CST 2013
Module: wine
Branch: master
Commit: bc1a457b1ce4da8ffb0204cf4e3543a9483aa945
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bc1a457b1ce4da8ffb0204cf4e3543a9483aa945
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Feb 26 22:16:03 2013 +0000
urlmon: Avoid signed-unsigned integer comparisons.
---
dlls/urlmon/uri.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/urlmon/uri.c b/dlls/urlmon/uri.c
index 90113f2..42cfe71 100644
--- a/dlls/urlmon/uri.c
+++ b/dlls/urlmon/uri.c
@@ -891,7 +891,7 @@ static BOOL ipv6_to_number(const ipv6_address *address, USHORT number[8]) {
/* Means we just passed the elision and need to add its values to
* 'number' before we do anything else.
*/
- DWORD j = 0;
+ INT j;
for(j = 0; j < address->elision_size; j+=2)
number[cur_component++] = 0;
@@ -904,7 +904,8 @@ static BOOL ipv6_to_number(const ipv6_address *address, USHORT number[8]) {
/* Case when the elision appears after the h16 components. */
if(!already_passed_elision && address->elision) {
- for(i = 0; i < address->elision_size; i+=2)
+ INT j;
+ for(j = 0; j < address->elision_size; j+=2)
number[cur_component++] = 0;
}
More information about the wine-cvs
mailing list