Commit f6677602 authored by Frédéric Delanoy's avatar Frédéric Delanoy Committed by Alexandre Julliard

msvcrt: Use BOOL type where appropriate.

parent afc0803d
...@@ -41,7 +41,7 @@ static const int MonthLengths[2][12] = ...@@ -41,7 +41,7 @@ static const int MonthLengths[2][12] =
{ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 } { 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); return Year % 4 == 0 && (Year % 100 != 0 || Year % 400 == 0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment