From 1007a0cf42f70baaf73b3fb18ed1eb3f4cc72e72 Mon Sep 17 00:00:00 2001 From: tytan652 Date: Mon, 18 Jul 2022 15:00:48 +0200 Subject: [PATCH] linux-capture: Fix format-overflow warning --- plugins/linux-capture/xshm-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/linux-capture/xshm-input.c b/plugins/linux-capture/xshm-input.c index d9c7cb567..265d739b9 100644 --- a/plugins/linux-capture/xshm-input.c +++ b/plugins/linux-capture/xshm-input.c @@ -352,7 +352,7 @@ static bool xshm_server_changed(obs_properties_t *props, obs_property_t *p, for (int_fast32_t i = 0; i < count; ++i) { char *name; - char name_tmp[12]; + char name_tmp[20]; int_fast32_t x, y, w, h; x = y = w = h = 0;