summaryrefslogtreecommitdiff
path: root/object.c
diff options
context:
space:
mode:
Diffstat (limited to 'object.c')
-rw-r--r--object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/object.c b/object.c
index 733f2ac..d6a4a72 100644
--- a/object.c
+++ b/object.c
@@ -740,7 +740,7 @@ rb_obj_private_methods(obj)
struct arg_to {
VALUE val;
- char *s;
+ const char *s;
};
static VALUE
@@ -766,7 +766,7 @@ VALUE
rb_convert_type(val, type, tname, method)
VALUE val;
int type;
- char *tname, *method;
+ const char *tname, *method;
{
struct arg_to arg1, arg2;