mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 03:39:59 +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;
|
||||
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';
|
||||
|
||||
snprintf(title_buf_msg, sizeof(title_buf), "%s (%s)",
|
||||
snprintf(title_buf_msg, sizeof(title_buf_msg), "%s (%s)",
|
||||
title_buf, title_msg);
|
||||
value_len = (int)utf8len(title_buf);
|
||||
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, "savestate"))))
|
||||
{
|
||||
size_t path_size = 8024 * sizeof(char);
|
||||
char *path = (char*)malloc(8204 * sizeof(char));
|
||||
size_t path_size = 8204 * sizeof(char);
|
||||
char *path = (char*)malloc(path_size);
|
||||
global_t *global = global_get_ptr();
|
||||
|
||||
path[0] = '\0';
|
||||
|
Loading…
x
Reference in New Issue
Block a user