From 70cbecd9f8d86d060fd3bc7b8dc246d9a7d863d1 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 27 Oct 2016 10:33:50 +0200 Subject: [PATCH] Reduce char variable sizes --- configuration.h | 4 ++-- retroarch.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configuration.h b/configuration.h index a0f64b2805..0c1a46534f 100644 --- a/configuration.h +++ b/configuration.h @@ -320,8 +320,8 @@ typedef struct settings struct { - char buildbot_url[PATH_MAX_LENGTH]; - char buildbot_assets_url[PATH_MAX_LENGTH]; + char buildbot_url[255]; + char buildbot_assets_url[255]; bool buildbot_auto_extract_archive; } network; diff --git a/retroarch.c b/retroarch.c index 4419814b05..061493fa3a 100644 --- a/retroarch.c +++ b/retroarch.c @@ -126,7 +126,7 @@ enum static jmp_buf error_sjlj_context; static enum rarch_core_type current_core_type = CORE_TYPE_PLAIN; static enum rarch_core_type explicit_current_core_type = CORE_TYPE_PLAIN; -static char error_string[PATH_MAX_LENGTH] = {0}; +static char error_string[255] = {0}; static retro_bits_t has_set_libretro_device; static bool has_set_core = false;