This cast isn't needed, and probably breaks CXX_BUILD

This commit is contained in:
Alcaro 2017-12-04 14:27:36 +01:00 committed by GitHub
parent 1aa6ae1b38
commit b9900b1fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}