From 13fab97ccf3297292728cca2d356339cc8e5ee5a Mon Sep 17 00:00:00 2001 From: retro-wertz Date: Sat, 3 Aug 2019 08:35:12 +0800 Subject: Silence warning -Wformat-overflow - Increasing the maximum size of destination char array to x2 to silence this warning. --- frontend/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontend') diff --git a/frontend/main.c b/frontend/main.c index c0bfd0f..81a68e3 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -870,7 +870,7 @@ static int _OpenPlugins(void) { if (Config.UseNet && !NetOpened) { netInfo info; - char path[MAXPATHLEN]; + char path[MAXPATHLEN * 2]; char dotdir[MAXPATHLEN]; MAKE_PATH(dotdir, "/.pcsx/plugins/", NULL); -- cgit v1.2.3