summaryrefslogtreecommitdiff
path: root/mut/surf
diff options
context:
space:
mode:
authorMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-18 17:37:14 +0100
committerMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-18 17:37:14 +0100
commit3203ee4049383fbdc32e002e95640126ce679e3d (patch)
tree89535d759ec5947c7803a22ab590cfc100ca3029 /mut/surf
parent95f72d96e79333ea8107ea62dcebfdfe9989f913 (diff)
surf
Diffstat (limited to 'mut/surf')
-rw-r--r--mut/surf/surf.c2
-rw-r--r--mut/surf/webext-surf.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/mut/surf/surf.c b/mut/surf/surf.c
index af0fa74..bcd8d6a 100644
--- a/mut/surf/surf.c
+++ b/mut/surf/surf.c
@@ -1856,7 +1856,7 @@ zoom(Client *c, const Arg *a)
static void
msgext(Client *c, char type, const Arg *a)
{
- static char msg[MSGBUFSZ];
+ static signed char msg[MSGBUFSZ];
int ret;
if (spair[0] < 0)
diff --git a/mut/surf/webext-surf.c b/mut/surf/webext-surf.c
index d087219..7eeb55f 100644
--- a/mut/surf/webext-surf.c
+++ b/mut/surf/webext-surf.c
@@ -38,7 +38,8 @@ msgsurf(guint64 pageid, const char *s)
static gboolean
readsock(GIOChannel *s, GIOCondition c, gpointer unused)
{
- static char js[48], msg[MSGBUFSZ];
+ static char js[48];
+ static signed char msg[MSGBUFSZ];
WebKitWebPage *page;
JSCContext *jsc;
GError *gerr = NULL;