mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
Use PATH_MAX size for string variable
This commit is contained in:
parent
278d8abd11
commit
fd718def87
@ -26,7 +26,7 @@
|
|||||||
|
|
||||||
static void set_volume(float gain)
|
static void set_volume(float gain)
|
||||||
{
|
{
|
||||||
char msg[256];
|
char msg[PATH_MAX];
|
||||||
|
|
||||||
g_settings.audio.volume += gain;
|
g_settings.audio.volume += gain;
|
||||||
g_settings.audio.volume = max(g_settings.audio.volume, -80.0f);
|
g_settings.audio.volume = max(g_settings.audio.volume, -80.0f);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user