Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
508365a2
Commit
508365a2
authored
Oct 30, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 31, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use BOOL type where appropriate.
parent
feef6174
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
cppexcept.h
dlls/msvcrt/cppexcept.h
+1
-1
wcs.c
dlls/msvcrt/wcs.c
+2
-2
No files found.
dlls/msvcrt/cppexcept.h
View file @
508365a2
...
@@ -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
);
...
...
dlls/msvcrt/wcs.c
View file @
508365a2
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment