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 /tokenize.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 'tokenize.c')
| -rw-r--r-- | tokenize.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |
