Turns out this is char*, let's cast because CXX_BUILD wants that

This commit is contained in:
Alcaro 2017-12-04 15:01:57 +01:00 committed by GitHub
parent c10859b745
commit fbd3a435d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,7 +101,7 @@ void retro_main_log_file_init(const char *path)
/* TODO: this is only useful for a few platforms, find which and add ifdef */
log_file_buf = calloc(1, 0x4000);
setvbuf(log_file_fp, log_file_buf, _IOFBF, 0x4000);
setvbuf(log_file_fp, (char*)log_file_buf, _IOFBF, 0x4000);
}
void retro_main_log_file_deinit(void)