aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/loop.c2
-rw-r--r--common/pango.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/common/loop.c b/common/loop.c
index 750bee75..82b80017 100644
--- a/common/loop.c
+++ b/common/loop.c
@@ -1,4 +1,4 @@
-#define _POSIX_C_SOURCE 199309L
+#define _POSIX_C_SOURCE 200112L
#include <limits.h>
#include <string.h>
#include <stdbool.h>
diff --git a/common/pango.c b/common/pango.c
index f0b8db66..3bc97808 100644
--- a/common/pango.c
+++ b/common/pango.c
@@ -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) {