aboutsummaryrefslogtreecommitdiff
path: root/osc.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 /osc.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 'osc.c')
-rw-r--r--osc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osc.c b/osc.c
index 0b492564..375eae5c 100644
--- a/osc.c
+++ b/osc.c
@@ -513,7 +513,7 @@ osc_uri(struct terminal *term, char *string)
key_value = strtok_r(NULL, ":", &ctx))
{
const char *key = key_value;
- char *operator = strchr(key_value, '=');
+ char *operator = (char *)strchr(key_value, '=');
if (operator == NULL)
continue;