diff options
author | retro-wertz | 2019-08-03 08:35:12 +0800 |
---|---|---|
committer | retro-wertz | 2019-08-03 08:35:12 +0800 |
commit | 13fab97ccf3297292728cca2d356339cc8e5ee5a (patch) | |
tree | 9eec2251ddd600509db658e046a587ecc3f72ee7 /frontend/main.c | |
parent | fcb84f0c6ad095c355d8c0835fc6c5fcdc2a6813 (diff) | |
download | pcsx_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.c | 2 |
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); |