Explorar o código

linux-capture: Fix format-overflow warning

tytan652 %!s(int64=3) %!d(string=hai) anos
pai
achega
1007a0cf42
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      plugins/linux-capture/xshm-input.c

+ 1 - 1
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;