Przeglądaj źródła

linux-capture: Fix format-overflow warning

tytan652 3 lat temu
rodzic
commit
1007a0cf42
1 zmienionych plików z 1 dodań i 1 usunięć
  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;