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

msvcrt: Use BOOL type where appropriate.

parent feef6174
...@@ -41,7 +41,7 @@ typedef struct __exception ...@@ -41,7 +41,7 @@ typedef struct __exception
{ {
const vtable_ptr *vtable; const vtable_ptr *vtable;
char *name; /* Name of this exception, always a new copy for each object */ 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; } exception;
typedef void (*cxx_copy_ctor)(void); typedef void (*cxx_copy_ctor)(void);
......
...@@ -1895,7 +1895,7 @@ MSVCRT_wchar_t* CDECL MSVCRT_wcsstr(const MSVCRT_wchar_t *str, const MSVCRT_wcha ...@@ -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) __int64 CDECL _wtoi64_l(const MSVCRT_wchar_t *str, MSVCRT__locale_t locale)
{ {
ULONGLONG RunningTotal = 0; ULONGLONG RunningTotal = 0;
char bMinus = 0; BOOL bMinus = FALSE;
while (isspaceW(*str)) { while (isspaceW(*str)) {
str++; str++;
...@@ -1904,7 +1904,7 @@ __int64 CDECL _wtoi64_l(const MSVCRT_wchar_t *str, MSVCRT__locale_t locale) ...@@ -1904,7 +1904,7 @@ __int64 CDECL _wtoi64_l(const MSVCRT_wchar_t *str, MSVCRT__locale_t locale)
if (*str == '+') { if (*str == '+') {
str++; str++;
} else if (*str == '-') { } else if (*str == '-') {
bMinus = 1; bMinus = TRUE;
str++; str++;
} /* if */ } /* if */
......
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