aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
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;