mirror of
https://github.com/libretro/RetroArch
synced 2024-12-29 12:31:05 +00:00
Fix CXX_BUILD
This commit is contained in:
parent
d4797781ea
commit
b680ffbfa6
@ -146,11 +146,13 @@ static void buffer_attr_cb(pa_stream *s, void *data)
|
||||
|
||||
static void *pulse_init(const char *device, unsigned rate, unsigned latency)
|
||||
{
|
||||
pa_sample_spec spec = {0};
|
||||
pa_sample_spec spec;
|
||||
pa_buffer_attr buffer_attr = {0};
|
||||
const pa_buffer_attr *server_attr = NULL;
|
||||
pa_t *pa = (pa_t*)calloc(1, sizeof(*pa));
|
||||
|
||||
memset(&spec, 0, sizeof(spec));
|
||||
|
||||
if (!pa)
|
||||
goto error;
|
||||
|
||||
|
@ -143,7 +143,7 @@ static aslclient asl_client;
|
||||
#else
|
||||
|
||||
#ifdef HAVE_FILE_LOGGER
|
||||
fp = retro_main_log_file();
|
||||
fp = (FILE*)retro_main_log_file();
|
||||
#else
|
||||
fp = stderr;
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user