mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 04:20:56 +00:00
msvcrt: Use BOOL type where appropriate.
This commit is contained in:
parent
afc0803df7
commit
f6677602e3
|
@ -41,7 +41,7 @@ static const int MonthLengths[2][12] =
|
|||
{ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
|
||||
};
|
||||
|
||||
static inline int IsLeapYear(int Year)
|
||||
static inline BOOL IsLeapYear(int Year)
|
||||
{
|
||||
return Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue