mirror of
https://github.com/NickHu/sway
synced 2024-12-26 21:58:30 +01:00
Fix stringop-overflow warnings
This commit is contained in:
parent
434cbaabf0
commit
8c86fff6dc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue