=?UTF-8?Q?Fr=C3=A9d=C3=A9ric=20Delanoy=20?=: msvcrt: Use BOOL type where appropriate.

Alexandre Julliard julliard at winehq.org
Fri Oct 11 10:11:12 CDT 2013


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

Author: Frédéric Delanoy <frederic.delanoy at 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);
 }




More information about the wine-cvs mailing list