Avoid -Wnarrowing warnings from quote_char()
authorTom Tromey <tom@tromey.com>
Thu, 9 Aug 2018 18:38:39 +0000 (12:38 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 27 Aug 2018 18:00:09 +0000 (12:00 -0600)
commit896a7aa6a119ce9d4872de87dabb81176489b1a3
tree9e71c7fa2905b25b2a118b3fb8840cb2e6cba738
parentdd33d41d54654093fb5e0ac7a6edd0c6a8c998dd
Avoid -Wnarrowing warnings from quote_char()

This adds a couple of casts to avoid -Wnarrowing warnings coming from
the use of quote_char().

gdb/ChangeLog
2018-08-27  Tom Tromey  <tom@tromey.com>

* linespec.c (complete_linespec_component): Add cast to "char".
* completer.c (completion_tracker::build_completion_result): Add
cast to "char".
gdb/ChangeLog
gdb/completer.c
gdb/linespec.c