commit | b1443b480fe9965a6eaa9211657d299e88964084 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 13 23:51:14 2019 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 13 23:51:14 2019 +0100 |
tree | 90f624e14617d31e6d32bdd4d6cb6e8633523252 | |
parent | f9e3e09fdc93be9f0d47afbc6c7df1188c2a5a0d [diff] [blame] |
patch 8.1.0744: compiler warnings for signed/unsigned strings Problem: Compiler warnings for signed/unsigned strings. Solution: A few more type cast fixes.
diff --git a/src/if_perl.xs b/src/if_perl.xs index 09a7fba..3561085 100644 --- a/src/if_perl.xs +++ b/src/if_perl.xs
@@ -1562,11 +1562,11 @@ 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);