From 8c86fff6dccc45b065ad40857ed6f983e607e16c Mon Sep 17 00:00:00 2001 From: Niccolò Scatena Date: Wed, 17 Oct 2018 13:00:12 +0200 Subject: Fix stringop-overflow warnings --- common/pango.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/pango.c') diff --git a/common/pango.c b/common/pango.c index f0b8db66..3bc97808 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) { -- cgit v1.2.3-54-g00ecf