From c0a51f4e8b45f8e8a25e02f533993c556a216f1d Mon Sep 17 00:00:00 2001 From: ocean Date: Tue, 13 Sep 2005 05:35:27 +0000 Subject: * string.c, missing.h: failed to build on powerpc-apple-darwin7.9.0 because of crypt argument's constness mismatch. (I hope this works) (http://mput.dip.jp/autobuild/ruby-trunk/log/20050913T110001.gz) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'string.c') diff --git a/string.c b/string.c index fe27fd4c2..750e920bb 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; -- cgit