From e40742526e6ea272c64ca393d7364e4023f4122c Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 17 Jan 2019 14:31:14 +0100 Subject: patch 8.1.0762: compiler warning Problem: Compiler warning. Solution: Add type cast. (Mike Williams) --- src/channel.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/channel.c b/src/channel.c index 0cec71b432..e08081dd71 100644 --- a/src/channel.c +++ b/src/channel.c @@ -4064,7 +4064,7 @@ ch_raw_common(typval_T *argvars, typval_T *rettv, int eval) else { text = tv_get_string_buf(&argvars[1], buf); - len = STRLEN(text); + len = (int)STRLEN(text); } channel = send_common(argvars, text, len, 0, eval, &opt, eval ? "ch_evalraw" : "ch_sendraw", &part_read); diff --git a/src/version.c b/src/version.c index 473d74af1a..9796471f66 100644 --- a/src/version.c +++ b/src/version.c @@ -795,6 +795,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 762, /**/ 761, /**/ -- cgit v1.2.3