1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
Description: Port to GCC-14
GCC-14 checks the type of pointers. We add const to html_escapes to
avoid the error.
Bug-Debian: http://bugs.debian.org/1075060
Author: Ying-Chun Liu (PaulLiu) <paulliu@debian.org>
Forwarded: https://github.com/jaromil/hasciicam/issues/16
--- a/src/hasciicam.c
+++ b/src/hasciicam.c
@@ -162,7 +162,7 @@ struct aa_savedata ascii_save;
char hascii_header[1024];
-char *html_escapes[] =
+const char *html_escapes[] =
{ "<", "<", ">", ">", "&", "&", NULL };
struct aa_format hascii_format = {
|