summaryrefslogtreecommitdiff
path: root/bk_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'bk_html.c')
-rw-r--r--bk_html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bk_html.c b/bk_html.c
index 3cd8eca..41a9f76 100644
--- a/bk_html.c
+++ b/bk_html.c
@@ -2101,7 +2101,7 @@ static char *html_sanitise_fragment(htmlfilelist *files, htmlfile *file,
/* If there's nothing left, make something valid up */
if (!*text) {
- static const char *const anonfrag = "anon";
+ static const char anonfrag[] = "anon";
text = sresize(text, lenof(anonfrag), char);
strcpy(text, anonfrag);
}