aboutsummaryrefslogtreecommitdiffstats
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index ef7356b410..e769f09801 100644
--- a/file.c
+++ b/file.c
@@ -542,8 +542,8 @@ rb_stat_inspect(VALUE self)
{
VALUE str;
int i;
- static struct {
- char *name;
+ static const struct {
+ const char *name;
VALUE (*func)(VALUE);
} member[] = {
{"dev", rb_stat_dev},