aboutsummaryrefslogtreecommitdiff
path: root/tokenize.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 /tokenize.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 'tokenize.c')
-rw-r--r--tokenize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tokenize.c b/tokenize.c
index 77cc3f1a..70ceb39b 100644
--- a/tokenize.c
+++ b/tokenize.c
@@ -45,7 +45,7 @@ tokenize_cmdline(const char *cmdline, char ***argv)
size_t idx = 0;
while (*p != '\0') {
- char *end = strchr(search_start, delim);
+ char *end = (char *)strchr(search_start, delim);
if (end == NULL) {
if (delim != ' ') {
LOG_ERR("unterminated %s quote", delim == '"' ? "double" : "single");