Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
5eaa1139
Unverified
Commit
5eaa1139
authored
Jun 26, 2022
by
Jérôme Travert
Committed by
GitHub
Jun 26, 2022
Browse files
Avoid implicit conversion from int to char
parent
72901486
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
googletest/src/gtest-printers.cc
googletest/src/gtest-printers.cc
+1
-1
No files found.
googletest/src/gtest-printers.cc
View file @
5eaa1139
...
...
@@ -315,7 +315,7 @@ void PrintTo(__uint128_t v, ::std::ostream* os) {
low
=
low
/
10
+
high_mod
*
1844674407370955161
+
carry
/
10
;
char
digit
=
static_cast
<
char
>
(
carry
%
10
);
*--
p
=
'0'
+
digit
;
*--
p
=
static_cast
<
char
>
(
'0'
+
digit
)
;
}
*
os
<<
p
;
}
...
...
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