aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2025-12-17 03:10:39 +0000
committerYaakov Selkowitz <yselkowi@redhat.com>2025-12-17 03:15:03 +0000
commit15ebc433baabd799252609e28bf79afd892b33a4 (patch)
treec76b5ccdf0afc2d59aa9832dbbd49e42d1364e3a /notify.c
parentterm: mouse SGR mode: don't emit negative CSI values (diff)
Fix discarded const qualifiers from string functions
This is a new warning in GCC 15 that is being promoted to an error due to the werror=true in meson.build.
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notify.c b/notify.c
index e8688180..e454b03b 100644
--- a/notify.c
+++ b/notify.c
@@ -114,7 +114,7 @@ consume_stdout(struct notification *notif, bool eof)
while (left > 0) {
line = data;
size_t len = left;
- char *eol = memchr(line, '\n', left);
+ char *eol = (char *)memchr(line, '\n', left);
if (eol != NULL) {
*eol = '\0';