summaryrefslogtreecommitdiffstats
path: root/src/if_perl.xs
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-13 23:51:14 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-13 23:51:14 +0100
commitb1443b480fe9965a6eaa9211657d299e88964084 (patch)
tree90f624e14617d31e6d32bdd4d6cb6e8633523252 /src/if_perl.xs
parentf9e3e09fdc93be9f0d47afbc6c7df1188c2a5a0d (diff)
patch 8.1.0744: compiler warnings for signed/unsigned stringsv8.1.0744
Problem: Compiler warnings for signed/unsigned strings. Solution: A few more type cast fixes.
Diffstat (limited to 'src/if_perl.xs')
-rw-r--r--src/if_perl.xs10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/if_perl.xs b/src/if_perl.xs
index 09a7fba4c0..356108598b 100644
--- a/src/if_perl.xs
+++ b/src/if_perl.xs
@@ -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);