aboutsummaryrefslogtreecommitdiffstats
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 fe27fd4c2f..750e920bbf 100644
--- a/string.c
+++ b/string.c
@@ -4141,7 +4141,7 @@ rb_str_oct(VALUE str)
static VALUE
rb_str_crypt(VALUE str, VALUE salt)
{
- extern char *crypt(char *, char *);
+ extern char *crypt(const char *, const char *);
VALUE result;
char *s;