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

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