aboutsummaryrefslogtreecommitdiff
path: root/frontend/main.c
diff options
context:
space:
mode:
authorretro-wertz2019-08-03 08:35:12 +0800
committerretro-wertz2019-08-03 08:35:12 +0800
commit13fab97ccf3297292728cca2d356339cc8e5ee5a (patch)
tree9eec2251ddd600509db658e046a587ecc3f72ee7 /frontend/main.c
parentfcb84f0c6ad095c355d8c0835fc6c5fcdc2a6813 (diff)
downloadpcsx_rearmed-13fab97ccf3297292728cca2d356339cc8e5ee5a.tar.gz
pcsx_rearmed-13fab97ccf3297292728cca2d356339cc8e5ee5a.tar.bz2
pcsx_rearmed-13fab97ccf3297292728cca2d356339cc8e5ee5a.zip
Silence warning -Wformat-overflow
- Increasing the maximum size of destination char array to x2 to silence this warning.
Diffstat (limited to 'frontend/main.c')
-rw-r--r--frontend/main.c2
1 files changed, 1 insertions, 1 deletions
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);