osd,ssd: don't cast away const

This commit is contained in:
John Lindgren 2025-10-01 12:41:00 -04:00
parent e6f54a0fc8
commit 40eed3915a
2 changed files with 2 additions and 2 deletions

View file

@ -440,7 +440,7 @@ ssd_update_title(struct ssd *ssd)
}
struct view *view = ssd->view;
char *title = (char *)view_get_string_prop(view, "title");
const char *title = view_get_string_prop(view, "title");
if (string_null_or_empty(title)) {
return;
}