From 020812bca2552afa5b0358105d2b837e8a5a19d2 Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Mon, 21 Feb 2022 19:13:37 +0100 Subject: [PATCH] [dump] const header --- src/viewer/dump/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/viewer/dump/dump.c b/src/viewer/dump/dump.c index 9317b13b2..e9a0218d6 100644 --- a/src/viewer/dump/dump.c +++ b/src/viewer/dump/dump.c @@ -327,7 +327,7 @@ dump_references(struct document *document, int fd, char buf[D_BUF]) && get_opt_bool("document.dump.references", NULL)) { char key_sym[64] = {0}; int x; - char *header = "\nReferences\n\n Visible links\n"; + const char *header = "\nReferences\n\n Visible links\n"; const char *label_key = get_opt_str("document.browse.links.label_key", NULL); int headlen = strlen(header); int base = strlen(label_key);