Merge pull request #8089 from orbea/format

Silence -Wformat-truncation warnings with DEBUG=1.
This commit is contained in:
Twinaphex 2019-01-24 21:28:37 +01:00 committed by GitHub
commit ffe65cdad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -1062,7 +1062,7 @@ void video_shader_write_conf_cgp(config_file_t *conf,
for (i = 0; i < shader->luts; i++)
{
char key[64];
char key[128];
key[0] = '\0';

View File

@ -56,7 +56,7 @@ bool input_remapping_load_file(void *data, const char *path)
char s1[64], s2[64], s3[64];
char btn_ident[RARCH_FIRST_CUSTOM_BIND][128] = {{0}};
char key_ident[RARCH_FIRST_CUSTOM_BIND][128] = {{0}};
char stk_ident[8][128] = {{0}};
char stk_ident[8][192] = {{0}};
char key_strings[RARCH_FIRST_CUSTOM_BIND + 8][128] = {
"b", "y", "select", "start",