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 4c0b710..eb4058d 100644
--- a/text.c
+++ b/text.c
@@ -1750,7 +1750,7 @@ Mark text_mark_set(Text *txt, size_t pos) {
return (Mark)(loc.piece->data + loc.off);
}
-size_t text_mark_get(Text *txt, Mark mark) {
+size_t text_mark_get(const Text *txt, Mark mark) {
size_t cur = 0;
if (mark == EMARK)