From bf903214d5523f0a64e4a7ae123242875b06c34d Mon Sep 17 00:00:00 2001 From: shyouhei Date: Tue, 1 Jul 2008 10:36:22 +0000 Subject: * ext/digest/digest.c (rb_digest_instance_inspect): constified. * variable.c (rb_path2class): field precision should have type int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/digest/digest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/digest') diff --git a/ext/digest/digest.c b/ext/digest/digest.c index 65ec89a84b..c3e9546ab4 100644 --- a/ext/digest/digest.c +++ b/ext/digest/digest.c @@ -266,7 +266,7 @@ rb_digest_instance_inspect(VALUE self) { VALUE str; size_t digest_len = 32; /* about this size at least */ - char *cname; + const char *cname; cname = rb_obj_classname(self); -- cgit v1.2.3