aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorNiccolò Scatena <speedjack95@gmail.com>2018-10-17 13:00:12 +0200
committerNiccolò Scatena <speedjack95@gmail.com>2018-10-17 13:00:12 +0200
commit8c86fff6dccc45b065ad40857ed6f983e607e16c (patch)
tree0c39c5489b863206887fa23a158efb8b5eca0ee5 /common
parent434cbaabf092ec1688b4dfd2d93f38e849531d96 (diff)
Fix stringop-overflow warnings
Diffstat (limited to 'common')
-rw-r--r--common/pango.c2
1 files changed, 1 insertions, 1 deletions
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) {