Module: wine Branch: master Commit: 508365a2c1df219f70d9b0ecb40b6b08f208b7b0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=508365a2c1df219f70d9b0ecb4...
Author: Frédéric Delanoy frederic.delanoy@gmail.com Date: Wed Oct 30 22:00:11 2013 +0100
msvcrt: Use BOOL type where appropriate.
---
dlls/msvcrt/cppexcept.h | 2 +- dlls/msvcrt/wcs.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dlls/msvcrt/cppexcept.h b/dlls/msvcrt/cppexcept.h index 7947a17..16a6e16 100644 --- a/dlls/msvcrt/cppexcept.h +++ b/dlls/msvcrt/cppexcept.h @@ -41,7 +41,7 @@ typedef struct __exception { const vtable_ptr *vtable; char *name; /* Name of this exception, always a new copy for each object */ - int do_free; /* Whether to free 'name' in our dtor */ + BOOL do_free; /* Whether to free 'name' in our dtor */ } exception;
typedef void (*cxx_copy_ctor)(void); diff --git a/dlls/msvcrt/wcs.c b/dlls/msvcrt/wcs.c index 97d916f..3f85a84 100644 --- a/dlls/msvcrt/wcs.c +++ b/dlls/msvcrt/wcs.c @@ -1895,7 +1895,7 @@ MSVCRT_wchar_t* CDECL MSVCRT_wcsstr(const MSVCRT_wchar_t *str, const MSVCRT_wcha __int64 CDECL _wtoi64_l(const MSVCRT_wchar_t *str, MSVCRT__locale_t locale) { ULONGLONG RunningTotal = 0; - char bMinus = 0; + BOOL bMinus = FALSE;
while (isspaceW(*str)) { str++; @@ -1904,7 +1904,7 @@ __int64 CDECL _wtoi64_l(const MSVCRT_wchar_t *str, MSVCRT__locale_t locale) if (*str == '+') { str++; } else if (*str == '-') { - bMinus = 1; + bMinus = TRUE; str++; } /* if */