From b9900b1fb8e7c570d338325dd827badc044e98ab Mon Sep 17 00:00:00 2001 From: Alcaro Date: Mon, 4 Dec 2017 14:27:36 +0100 Subject: [PATCH] This cast isn't needed, and probably breaks CXX_BUILD --- verbosity.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }