From 144d1b1e817f1470e3048a4c56b584a38d5e754b Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 8 Jul 2021 21:08:16 -0400 Subject: misc: Fix up a few warnings uncovered by LTO * direct use of memcpy() instead of ci->memcpy() in flac and mod * uninitialized variable in mpegplayer Change-Id: I2d08682d5f66c319780e69e3ff63d600c61d8f5a --- lib/rbcodec/codecs/mod.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbcodec/codecs/mod.c') diff --git a/lib/rbcodec/codecs/mod.c b/lib/rbcodec/codecs/mod.c index d0d7e1d996..ef1db5dea9 100644 --- a/lib/rbcodec/codecs/mod.c +++ b/lib/rbcodec/codecs/mod.c @@ -424,7 +424,7 @@ void initmodplayer(void) /* Set Default Panning */ mixer_setpanning(c, panningvalues[c]); /* Reset channels in the MOD Player */ - memset(&modplayer.modchannel[c], 0, sizeof(struct s_modchannel)); + ci->memset(&modplayer.modchannel[c], 0, sizeof(struct s_modchannel)); /* Don't play anything */ mixer.channel[c].channelactive = false; } -- cgit v1.2.3