Michael Stefaniuc : msi: Fix "type of 'x' defaults to 'int'" warnings.

Alexandre Julliard julliard at winehq.org
Wed Feb 6 07:27:46 CST 2008


Module: wine
Branch: master
Commit: 41848c828b9dcc69068ff2bfdf1ba1c5cd53600d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=41848c828b9dcc69068ff2bfdf1ba1c5cd53600d

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Tue Feb  5 14:17:21 2008 +0100

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

---

 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));
 }




More information about the wine-cvs mailing list