mirror of
https://github.com/swaywm/sway.git
synced 2025-02-05 17:55:10 +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 "log.h"
|
||||||
#include "stringop.h"
|
#include "stringop.h"
|
||||||
|
|
||||||
static const char *overflow = "[buffer overflow]";
|
static const char overflow[] = "[buffer overflow]";
|
||||||
static const int max_chars = 16384;
|
static const int max_chars = 16384;
|
||||||
|
|
||||||
size_t escape_markup_text(const char *src, char *dest) {
|
size_t escape_markup_text(const char *src, char *dest) {
|
||||||
|
|
Loading…
Reference in a new issue