mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-30 06:43:53 +00:00
Start reducing size of some char variables
This commit is contained in:
parent
8d6be4b700
commit
b1b2579fde
@ -76,7 +76,7 @@ struct udev_joypad
|
||||
uint16_t strength[2];
|
||||
uint16_t configured_strength[2];
|
||||
|
||||
char ident[PATH_MAX_LENGTH];
|
||||
char ident[255];
|
||||
char *path;
|
||||
int32_t vid;
|
||||
int32_t pid;
|
||||
@ -362,7 +362,7 @@ static void udev_check_device(struct udev_device *dev, const char *path, bool ho
|
||||
default:
|
||||
if (hotplugged)
|
||||
{
|
||||
char msg[PATH_MAX_LENGTH];
|
||||
char msg[255];
|
||||
|
||||
msg[0] = '\0';
|
||||
|
||||
|
@ -153,7 +153,7 @@ static void print_buf_lines(file_list_t *list, char *buf,
|
||||
|
||||
if (settings)
|
||||
{
|
||||
char display_name[PATH_MAX_LENGTH];
|
||||
char display_name[255];
|
||||
char core_path[PATH_MAX_LENGTH];
|
||||
char *last = NULL;
|
||||
|
||||
@ -437,7 +437,7 @@ static int menu_displaylist_parse_network_info(menu_displaylist_info_t *info)
|
||||
|
||||
for (k = 0; k < list->size; k++)
|
||||
{
|
||||
char tmp[PATH_MAX_LENGTH];
|
||||
char tmp[255];
|
||||
|
||||
tmp[0] = '\0';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user