0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.0744: compiler warnings for signed/unsigned strings

Problem:    Compiler warnings for signed/unsigned strings.
Solution:   A few more type cast fixes.
This commit is contained in:
Bram Moolenaar
2019-01-13 23:51:14 +01:00
parent f9e3e09fdc
commit b1443b480f
5 changed files with 23 additions and 17 deletions

View File

@@ -1562,11 +1562,11 @@ Eval(str)
SV*
Blob(SV* sv)
PREINIT:
STRLEN len;
char *s;
int i;
char buf[3];
SV* newsv;
STRLEN len;
char *s;
unsigned i;
char buf[3];
SV* newsv;
CODE:
s = SvPVbyte(sv, len);