From f1889a9368ce720f2ce1641fffdfd26daeebe597 Mon Sep 17 00:00:00 2001 From: bnnm Date: Fri, 27 Aug 2021 00:23:44 +0200 Subject: [PATCH] audacious: fix c++ inane casts --- audacious/Makefile.autotools.am | 2 +- audacious/plugin.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audacious/Makefile.autotools.am b/audacious/Makefile.autotools.am index 8acfc5c5..f0d5d6d6 100644 --- a/audacious/Makefile.autotools.am +++ b/audacious/Makefile.autotools.am @@ -6,7 +6,7 @@ inputplugindir = $(plugindir)/$(INPUT_PLUGIN_DIR) inputplugin_LTLIBRARIES = libvgmstream.la AM_MAKEFLAGS=-f Makefile.autotools -AM_CXXFLAGS = -DVGMSTREAM_VERSION_AUTO -DVGM_LOG_OUTPUT -Wall -std=c++11 -fpermissive -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/ext_includes/ $(AUDACIOUS_CFLAGS) $(GTK_CFLAGS) +AM_CXXFLAGS = -DVGMSTREAM_VERSION_AUTO -DVGM_LOG_OUTPUT -Wall -std=c++11 -I$(top_builddir) -I$(top_srcdir) -I$(top_srcdir)/ext_includes/ $(AUDACIOUS_CFLAGS) $(GTK_CFLAGS) AM_LIBS = # sources/headers are updated automatically by ./bootstrap script (not all headers are needed though) diff --git a/audacious/plugin.cc b/audacious/plugin.cc index 144a5b5c..af5ded87 100644 --- a/audacious/plugin.cc +++ b/audacious/plugin.cc @@ -148,7 +148,7 @@ bool VgmstreamPlugin::init() { vgmstream_settings_load(); - vgmstream_set_log_callback(VGM_LOG_LEVEL_ALL, &vgmstream_log); + vgmstream_set_log_callback(VGM_LOG_LEVEL_ALL, (void*)&vgmstream_log); return true; }