mirror of
https://github.com/libretro/RetroArch.git
synced 2025-04-02 10:51:52 -04:00
Increase size of string to silence warning
This commit is contained in:
parent
f7e4f440c8
commit
931397671f
1 changed files with 2 additions and 2 deletions
|
@ -821,12 +821,12 @@ static void task_load_handler(retro_task_t *task)
|
|||
{
|
||||
if (state->autoload)
|
||||
{
|
||||
char *msg = (char*)malloc(1024 * sizeof(char));
|
||||
char *msg = (char*)malloc(8192 * sizeof(char));
|
||||
|
||||
msg[0] = '\0';
|
||||
|
||||
snprintf(msg,
|
||||
1024 * sizeof(char),
|
||||
8192 * sizeof(char),
|
||||
"%s \"%s\" %s.",
|
||||
msg_hash_to_str(MSG_AUTOLOADING_SAVESTATE_FROM),
|
||||
state->path,
|
||||
|
|
Loading…
Add table
Reference in a new issue