comparison src/if_perl.xs @ 15472:0fcc1315c061 v8.1.0744

patch 8.1.0744: compiler warnings for signed/unsigned strings commit https://github.com/vim/vim/commit/b1443b480fe9965a6eaa9211657d299e88964084 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 13 23:51:14 2019 +0100 patch 8.1.0744: compiler warnings for signed/unsigned strings Problem: Compiler warnings for signed/unsigned strings. Solution: A few more type cast fixes.
author Bram Moolenaar <Bram@vim.org>
date Mon, 14 Jan 2019 00:00:04 +0100
parents 55ccc2d353bd
children dd725a8ab112
comparison
equal deleted inserted replaced
15471:c3aa513f6b0b 15472:0fcc1315c061
1560 } 1560 }
1561 1561
1562 SV* 1562 SV*
1563 Blob(SV* sv) 1563 Blob(SV* sv)
1564 PREINIT: 1564 PREINIT:
1565 STRLEN len; 1565 STRLEN len;
1566 char *s; 1566 char *s;
1567 int i; 1567 unsigned i;
1568 char buf[3]; 1568 char buf[3];
1569 SV* newsv; 1569 SV* newsv;
1570 1570
1571 CODE: 1571 CODE:
1572 s = SvPVbyte(sv, len); 1572 s = SvPVbyte(sv, len);
1573 newsv = newSVpv("0z", 2); 1573 newsv = newSVpv("0z", 2);
1574 for (i = 0; i < len; i++) 1574 for (i = 0; i < len; i++)