diff --git a/verbosity.c b/verbosity.c index 368067fa96..2fb735e6bf 100644 --- a/verbosity.c +++ b/verbosity.c @@ -100,7 +100,7 @@ void retro_main_log_file_init(const char *path) log_file_initialized = true; /* TODO: this is only useful for a few platforms, find which and add ifdef */ - log_file_buf = (char*)calloc(1, 0x4000); + log_file_buf = calloc(1, 0x4000); setvbuf(log_file_fp, log_file_buf, _IOFBF, 0x4000); }