Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
b15335df
Commit
b15335df
authored
Jul 31, 2019
by
Abseil Team
Committed by
Gennadiy Civil
Aug 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
Fix signed conversion warning for wchar_t -> wint_t. Fixes Github issue #2300 PiperOrigin-RevId: 261045497
parent
a3eee98c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gtest.cc
googletest/src/gtest.cc
+2
-2
No files found.
googletest/src/gtest.cc
View file @
b15335df
...
@@ -1949,8 +1949,8 @@ bool String::CaseInsensitiveWideCStringEquals(const wchar_t* lhs,
...
@@ -1949,8 +1949,8 @@ bool String::CaseInsensitiveWideCStringEquals(const wchar_t* lhs,
// Other unknown OSes may not define it either.
// Other unknown OSes may not define it either.
wint_t
left
,
right
;
wint_t
left
,
right
;
do
{
do
{
left
=
towlower
(
*
lhs
++
);
left
=
towlower
(
static_cast
<
wint_t
>
(
*
lhs
++
)
);
right
=
towlower
(
*
rhs
++
);
right
=
towlower
(
static_cast
<
wint_t
>
(
*
rhs
++
)
);
}
while
(
left
&&
left
==
right
);
}
while
(
left
&&
left
==
right
);
return
left
==
right
;
return
left
==
right
;
#endif // OS selector
#endif // OS selector
...
...
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