From 8c86fff6dccc45b065ad40857ed6f983e607e16c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Scatena?= Date: Wed, 17 Oct 2018 13:00:12 +0200 Subject: [PATCH] Fix stringop-overflow warnings --- common/pango.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/pango.c b/common/pango.c index f0b8db666..3bc97808c 100644 --- a/common/pango.c +++ b/common/pango.c @@ -10,7 +10,7 @@ #include "log.h" #include "stringop.h" -static const char *overflow = "[buffer overflow]"; +static const char overflow[] = "[buffer overflow]"; static const int max_chars = 16384; size_t escape_markup_text(const char *src, char *dest) {