summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index 24361717776..d85a9dfdd52 100644
--- a/string.c
+++ b/string.c
@@ -862,7 +862,7 @@ str_replace(str, beg, len, val)
/* str_replace2() understands negatice offset */
static void
str_replace2(str, beg, end, val)
- VALUE str, *val;
+ VALUE str, val;
int beg, end;
{
int len;