diff options
| author | Yaakov Selkowitz <yselkowi@redhat.com> | 2025-12-17 03:10:39 +0000 |
|---|---|---|
| committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2025-12-17 03:15:03 +0000 |
| commit | 15ebc433baabd799252609e28bf79afd892b33a4 (patch) | |
| tree | c76b5ccdf0afc2d59aa9832dbbd49e42d1364e3a /notify.c | |
| parent | term: 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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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'; |
