summaryrefslogtreecommitdiff
path: root/ext/digest
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 10:36:22 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-01 10:36:22 +0000
commitbf903214d5523f0a64e4a7ae123242875b06c34d (patch)
tree5c657837a8251a81ffe019b1bfac2e6bf8bcc986 /ext/digest
parent5b7dfb7c131627728aee5871bb1a029ab5918b9b (diff)
* 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
Diffstat (limited to 'ext/digest')
-rw-r--r--ext/digest/digest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/digest.c b/ext/digest/digest.c
index 65ec89a..c3e9546 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);