mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 12:40:23 +00:00
Silence more warnings
This commit is contained in:
parent
0ba8597041
commit
57c77a9a28
@ -1558,11 +1558,11 @@ static void materialui_frame(void *data, video_frame_info_t *video_info)
|
|||||||
{
|
{
|
||||||
int ticker_limit, value_len;
|
int ticker_limit, value_len;
|
||||||
char title_buf_msg_tmp[255];
|
char title_buf_msg_tmp[255];
|
||||||
char title_buf_msg[255];
|
char title_buf_msg[640];
|
||||||
|
|
||||||
title_buf_msg_tmp[0] = title_buf_msg[0] = '\0';
|
title_buf_msg_tmp[0] = title_buf_msg[0] = '\0';
|
||||||
|
|
||||||
snprintf(title_buf_msg, sizeof(title_buf), "%s (%s)",
|
snprintf(title_buf_msg, sizeof(title_buf_msg), "%s (%s)",
|
||||||
title_buf, title_msg);
|
title_buf, title_msg);
|
||||||
value_len = (int)utf8len(title_buf);
|
value_len = (int)utf8len(title_buf);
|
||||||
ticker_limit = (int)((usable_width / mui->glyph_width) - (value_len + 2));
|
ticker_limit = (int)((usable_width / mui->glyph_width) - (value_len + 2));
|
||||||
|
@ -1086,8 +1086,8 @@ static void xmb_update_savestate_thumbnail_path(void *data, unsigned i)
|
|||||||
|| (string_is_equal(entry.label, "loadstate"))
|
|| (string_is_equal(entry.label, "loadstate"))
|
||||||
|| (string_is_equal(entry.label, "savestate"))))
|
|| (string_is_equal(entry.label, "savestate"))))
|
||||||
{
|
{
|
||||||
size_t path_size = 8024 * sizeof(char);
|
size_t path_size = 8204 * sizeof(char);
|
||||||
char *path = (char*)malloc(8204 * sizeof(char));
|
char *path = (char*)malloc(path_size);
|
||||||
global_t *global = global_get_ptr();
|
global_t *global = global_get_ptr();
|
||||||
|
|
||||||
path[0] = '\0';
|
path[0] = '\0';
|
||||||
|
2
movie.c
2
movie.c
@ -531,7 +531,7 @@ static bool runloop_check_movie_record(void)
|
|||||||
|
|
||||||
static bool runloop_check_movie_init(void)
|
static bool runloop_check_movie_init(void)
|
||||||
{
|
{
|
||||||
char msg[8192], path[8192];
|
char msg[16384], path[8192];
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
msg[0] = path[0] = '\0';
|
msg[0] = path[0] = '\0';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user