From c892fac256e74d3e0b0a96d39ba21cd0d9577ca0 Mon Sep 17 00:00:00 2001 From: Peter Ferrie Date: Thu, 5 Sep 2019 21:34:34 -0700 Subject: [PATCH] fix vsllvm build (nw) LLVM refuses to coerce the iterator to a pointer --- src/devices/sound/mas3507d.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/sound/mas3507d.cpp b/src/devices/sound/mas3507d.cpp index 3581176ca53..9fa4eeadbc9 100644 --- a/src/devices/sound/mas3507d.cpp +++ b/src/devices/sound/mas3507d.cpp @@ -335,7 +335,7 @@ void mas3507d_device::fill_buffer() mp3data[mp3_count++] = v; } - int scount = mp3dec_decode_frame(&mp3_dec, mp3data.begin(), mp3_count, samples.begin(), &mp3_info); + int scount = mp3dec_decode_frame(&mp3_dec, static_cast(&mp3data[0]), mp3_count, static_cast(&samples[0]), &mp3_info); if(!scount) { int to_drop = mp3_info.frame_bytes;