summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
Diffstat (limited to 'file.c')
-rw-r--r--file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/file.c b/file.c
index c844e3f..8d54961 100644
--- a/file.c
+++ b/file.c
@@ -1495,7 +1495,7 @@ static VALUE
rb_file_ftype(st)
struct stat *st;
{
- char *t;
+ const char *t;
if (S_ISREG(st->st_mode)) {
t = "file";