summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Peter Ferrie <peter.ferrie@gmail.com>2019-09-05 21:34:34 -0700
committer Peter Ferrie <peter.ferrie@gmail.com>2019-09-05 21:34:34 -0700
commitc892fac256e74d3e0b0a96d39ba21cd0d9577ca0 (patch)
treec62b5f2ea76b1f7087ad777628a710c0e593aefa
parent8b67c4857a909261d490f79c9456b6f03bd2a2cd (diff)
fix vsllvm build (nw)
LLVM refuses to coerce the iterator to a pointer
-rw-r--r--src/devices/sound/mas3507d.cpp2
1 files changed, 1 insertions, 1 deletions
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<const uint8_t *>(&mp3data[0]), mp3_count, static_cast<mp3d_sample_t *>(&samples[0]), &mp3_info);
if(!scount) {
int to_drop = mp3_info.frame_bytes;