From 10f5fafb6d2880792d7cdc7f99fda8a0e36b36c1 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 30 Oct 2024 02:10:53 +0100 Subject: Fix typo --- src/work.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/work.c') diff --git a/src/work.c b/src/work.c index 874d0cd..413fa87 100644 --- a/src/work.c +++ b/src/work.c @@ -314,7 +314,7 @@ write_match_to_buffer(u8view_t sv, u8view_t *hl) array_push(buf, sep); array_extend_sv(buf, COL_RS); - /* GCC things ‘offset’ can overflow because our offsets have type + /* GCC thinks ‘offset’ can overflow because our offsets have type ptrdiff_t which if negative would have a ‘-’ in the front, but we know that the match positions can’t be negative so it’s safe to ignore. */ -- cgit v1.2.3