diff options
Diffstat (limited to 'src/nvim/testing.c')
-rw-r--r-- | src/nvim/testing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testing.c b/src/nvim/testing.c index d168e67957..edf92c78ac 100644 --- a/src/nvim/testing.c +++ b/src/nvim/testing.c @@ -98,7 +98,7 @@ static void ga_concat_esc(garray_T *gap, const char *p, int clen) vim_snprintf(buf, NUMBUFLEN, "\\x%02x", *p); ga_concat(gap, buf); } else { - ga_append(gap, *p); + ga_append(gap, (uint8_t)(*p)); } break; } |