projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Avoid -Wnarrowing warnings from quote_char()
[deliverable/binutils-gdb.git]
/
gdb
/
linespec.c
diff --git
a/gdb/linespec.c
b/gdb/linespec.c
index 73fbe4af3be713281534f939e322af1d7e15547a..fd88007c130348bc939fad92a93c5577243f2d6e 100644
(file)
--- a/
gdb/linespec.c
+++ b/
gdb/linespec.c
@@
-2894,7
+2894,7
@@
complete_linespec_component (linespec_parser *parser,
new "quote" char. */
if (tracker.quote_char ())
{
- char quote_char_str[2] = { tracker.quote_char () };
+ char quote_char_str[2] = {
(char)
tracker.quote_char () };
fn = reconcat (fn, fn, quote_char_str, (char *) NULL);
tracker.set_quote_char (':');
This page took
0.025016 seconds
and
4
git commands to generate.