summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2018-11-03 22:25:48 +0100
committerChristian Persch <chpe@src.gnome.org>2018-11-03 22:25:48 +0100
commit1d4eab2e8e098830aafb1001ce4b5a4100db9f4f (patch)
tree30ef14ccd93d684eefa00a4f4b51f287493b15f9 /src
parentad078eb4fec6ba5ec7c2c220fe987b45f87798eb (diff)
downloadvte-1d4eab2e8e098830aafb1001ce4b5a4100db9f4f.tar.gz
lib: Fix clang build error
Explicitly cast to integer to avoid a narrowing error. https://gitlab.gnome.org/GNOME/vte/issues/67
Diffstat (limited to 'src')
-rw-r--r--src/vteseq.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vteseq.cc b/src/vteseq.cc
index 2f2dbe0b..21b03629 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -1677,7 +1677,7 @@ Terminal::ACS(vte::parser::Sequence const& seq)
/* Since we mostly don't implement ECMA-35 anymore, we can mostly ignore this */
- switch (seq.terminator() - 0x40) {
+ switch (int(seq.terminator()) - 0x40) {
case -10: /* '6' */
/* S7C1R/DECTC1 - truncate C1 controls
*