Fix CXX_BUILD

This commit is contained in:
twinaphex 2016-09-11 16:47:39 +02:00
parent d4797781ea
commit b680ffbfa6
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -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