diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-08-12 00:06:09 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-08-12 00:06:09 +0900 |
| commit | 3fe4b6414f9daa33ec238cb3f32b53b2dddeabf4 (patch) | |
| tree | 906653ca6e97f09680366e5031b12a10f00dbaf6 | |
| parent | a37c1daf33fda9749c56447ec3cead46252e65bd (diff) | |
| download | mruby-3fe4b6414f9daa33ec238cb3f32b53b2dddeabf4.tar.gz mruby-3fe4b6414f9daa33ec238cb3f32b53b2dddeabf4.zip | |
add const qualifier to stop warning
| -rw-r--r-- | src/kernel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel.c b/src/kernel.c index e687c9db7..9dc085a94 100644 --- a/src/kernel.c +++ b/src/kernel.c @@ -600,7 +600,7 @@ obj_is_instance_of(mrb_state *mrb, mrb_value self) static void check_iv_name(mrb_state *mrb, mrb_sym id) { - char *s; + const char *s; int len; s = mrb_sym2name_len(mrb, id, &len); |
