summaryrefslogtreecommitdiffstats
path: root/color.c
diff options
context:
space:
mode:
Diffstat (limited to 'color.c')
-rw-r--r--color.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/color.c b/color.c
index e7c2958..29a87e1 100644
--- a/color.c
+++ b/color.c
@@ -188,7 +188,7 @@ static int set_ext_color(struct colors *colors, const char *key, const char *val
struct trie_leaf *leaf = trie_insert_str(&colors->ext_colors, xfrm);
free(xfrm);
if (leaf) {
- leaf->value = value;
+ leaf->value = (char *)value;
return 0;
} else {
return -1;