Fix stringop-overflow warnings

master
Niccolò Scatena 6 years ago
parent 434cbaabf0
commit 8c86fff6dc
No known key found for this signature in database
GPG Key ID: 190BFE7BA4F2EF64

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

Loading…
Cancel
Save