[Resend] msi: Fix "type of 'x' defaults to 'int'" warnings.

Michael Stefaniuc mstefani at redhat.de
Tue Feb 5 07:17:21 CST 2008


The subject of the previous email was garbled.
---
 dlls/msi/format.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/msi/format.c b/dlls/msi/format.c
index 4a31f74..128f159 100644
--- a/dlls/msi/format.c
+++ b/dlls/msi/format.c
@@ -393,13 +393,13 @@ static BOOL format_str_is_number(LPWSTR str)
     return TRUE;
 }
 
-static BOOL format_is_alpha(x)
+static BOOL format_is_alpha(WCHAR x)
 {
     return (!format_is_number(x) && x != '\0' &&
             x != '[' && x != ']' && x != '{' && x != '}');
 }
 
-static BOOL format_is_literal(x)
+static BOOL format_is_literal(WCHAR x)
 {
     return (format_is_alpha(x) || format_is_number(x));
 }
-- 
1.5.3.6
-------------- 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/20080205/a3175099/attachment.pgp 


More information about the wine-patches mailing list