msi: Fix "type of 'x' defaults to 'int'" warnings.
This commit is contained in:
parent
36130b4d77
commit
41848c828b
|
@ -393,13 +393,13 @@ static BOOL format_str_is_number(LPWSTR str)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
static BOOL format_is_alpha(x)
|
static BOOL format_is_alpha(WCHAR x)
|
||||||
{
|
{
|
||||||
return (!format_is_number(x) && x != '\0' &&
|
return (!format_is_number(x) && x != '\0' &&
|
||||||
x != '[' && x != ']' && x != '{' && x != '}');
|
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));
|
return (format_is_alpha(x) || format_is_number(x));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue