commit 8c86fff6dccc45b065ad40857ed6f983e607e16c
parent 434cbaabf092ec1688b4dfd2d93f38e849531d96
Author: Niccolò Scatena <speedjack95@gmail.com>
Date: Wed, 17 Oct 2018 13:00:12 +0200
Fix stringop-overflow warnings
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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) {