programs/msiexec: sign compare fixes

Austin English austinenglish at gmail.com
Mon Jul 13 19:57:13 CDT 2009


-- 
-Austin
-------------- next part --------------
From 0a6b20d85347e0ed86d9d3279b6a7a16a4af8d2c Mon Sep 17 00:00:00 2001
From: Austin English <austinenglish at gmail.com>
Date: Mon, 13 Jul 2009 16:06:02 -0500
Subject: [PATCH] programs/msiexec: sign compare fixes

---
 programs/msiexec/msiexec.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/programs/msiexec/msiexec.c b/programs/msiexec/msiexec.c
index 9221fa2..40da590 100644
--- a/programs/msiexec/msiexec.c
+++ b/programs/msiexec/msiexec.c
@@ -223,7 +223,8 @@ static LPWSTR msi_strdup(LPCWSTR str)
 /* str1 is the same as str2, ignoring case */
 static BOOL msi_strequal(LPCWSTR str1, LPCSTR str2)
 {
-	DWORD len, ret;
+	DWORD ret;
+	int len;
 	LPWSTR strW;
 
 	len = MultiByteToWideChar( CP_ACP, 0, str2, -1, NULL, 0);
@@ -251,7 +252,8 @@ static BOOL msi_option_equal(LPCWSTR str1, LPCSTR str2)
 /* str2 is at the beginning of str1, ignoring case */
 static BOOL msi_strprefix(LPCWSTR str1, LPCSTR str2)
 {
-	DWORD len, ret;
+	DWORD ret;
+	int len;
 	LPWSTR strW;
 
 	len = MultiByteToWideChar( CP_ACP, 0, str2, -1, NULL, 0);
-- 
1.5.4.3


More information about the wine-patches mailing list