diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-07-04 15:18:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-04 15:18:18 +0200 |
commit | 5214798cfcea31c286f20978230746e49af73e37 (patch) | |
tree | e795b58ad03cfa784d0418b184fd3d4e6c26bab3 /src | |
parent | 008b604bacbbeeaf0e04f94b1d331b11ebec631a (diff) | |
parent | 2208b64891d57a4ab79143183888149be9ee228d (diff) | |
download | rneovim-5214798cfcea31c286f20978230746e49af73e37.tar.gz rneovim-5214798cfcea31c286f20978230746e49af73e37.tar.bz2 rneovim-5214798cfcea31c286f20978230746e49af73e37.zip |
Merge #6955 'Fix invalid :echo output'
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/message.c b/src/nvim/message.c index 8a9d8e1bc6..36f9ca84ed 100644 --- a/src/nvim/message.c +++ b/src/nvim/message.c @@ -1196,7 +1196,7 @@ int msg_outtrans_len_attr(char_u *msgstr, int len, int attr) len -= mb_l - 1; str += mb_l; } else { - s = transchar_byte(*str); + s = transchar_byte((uint8_t)(*str)); if (s[1] != NUL) { // Unprintable char: print the printable chars so far and the // translation of the unprintable char. |