aboutsummaryrefslogtreecommitdiff
path: root/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'text.c')
-rw-r--r--text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text.c b/text.c
index 3296e1a..d156c8a 100644
--- a/text.c
+++ b/text.c
@@ -1218,7 +1218,7 @@ out:
return NULL;
}
-struct stat text_stat(Text *txt) {
+struct stat text_stat(const Text *txt) {
return txt->info;
}