Module: wine Branch: master Commit: f6677602e32db5bca9a4ce57acb0af2995e1ccf8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f6677602e32db5bca9a4ce57ac...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Thu Oct 10 21:52:44 2013 +0200
msvcrt: Use BOOL type where appropriate.
---
dlls/msvcrt/time.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/msvcrt/time.c b/dlls/msvcrt/time.c index 4c21380..e227b84 100644 --- a/dlls/msvcrt/time.c +++ b/dlls/msvcrt/time.c @@ -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); }