programs/msiexec: sign compare fixes

Austin English austinenglish at gmail.com
Sun Aug 23 03:49:03 CDT 2009


-- 
-Austin
-------------- next part --------------
diff --git a/programs/msiexec/msiexec.c b/programs/msiexec/msiexec.c
index 9221fa2..754898d 100644
--- a/programs/msiexec/msiexec.c
+++ b/programs/msiexec/msiexec.c
@@ -223,7 +223,7 @@ 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;
+	WCHAR len, ret;
 	LPWSTR strW;
 
 	len = MultiByteToWideChar( CP_ACP, 0, str2, -1, NULL, 0);
@@ -251,7 +251,7 @@ 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;
+	WCHAR len, ret;
 	LPWSTR strW;
 
 	len = MultiByteToWideChar( CP_ACP, 0, str2, -1, NULL, 0);


More information about the wine-patches mailing list