mirror of
https://github.com/swaywm/sway.git
synced 2024-11-22 07:51:28 +00:00
Fix stringop-overflow warnings
This commit is contained in:
parent
434cbaabf0
commit
8c86fff6dc
|
@ -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