summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index 7e26edb5b2..3d8a664962 100644
--- a/string.c
+++ b/string.c
@@ -1514,7 +1514,8 @@ rb_str_upto(beg, end, excl)
static VALUE
rb_str_upto_m(argc, argv, beg)
int argc;
- VALUE argv, beg;
+ VALUE *argv;
+ VALUE beg;
{
VALUE end, exclusive;
@@ -4836,7 +4837,6 @@ rb_str_start_with(argc, argv, str)
VALUE str;
{
int i;
- long pos;
VALUE pat;
for (i=0; i<argc; i++) {