Fix stringop-overflow warnings

This commit is contained in:
Niccolò Scatena 2018-10-17 13:00:12 +02:00
parent 434cbaabf0
commit 8c86fff6dc
No known key found for this signature in database
GPG Key ID: 190BFE7BA4F2EF64
1 changed files with 1 additions and 1 deletions

View File

@ -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) {