summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/cbm_tap.cpp
diff options
context:
space:
mode:
author holub <andrei.holub@gmail.com>2025-01-27 15:38:48 -0500
committer GitHub <noreply@github.com>2025-01-27 15:38:48 -0500
commitcdb94c2be58ccbc427871890017e2213ee634079 (patch)
treec011024ee4c800db05901aeb99d8e20b43fa1f88 /src/lib/formats/cbm_tap.cpp
parent4b3183447b8d1e636dfce950f612e3e07f8071fa (diff)
formats/tzx_cas.cpp: Cut data size in case header requesting more than available (MT8952) (#13289)
Diffstat (limited to 'src/lib/formats/cbm_tap.cpp')
-rw-r--r--src/lib/formats/cbm_tap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/formats/cbm_tap.cpp b/src/lib/formats/cbm_tap.cpp
index 743ad4282d2..785a0a78b95 100644
--- a/src/lib/formats/cbm_tap.cpp
+++ b/src/lib/formats/cbm_tap.cpp
@@ -330,7 +330,7 @@ static int cbm_tap_to_wav_size( const uint8_t *tapdata, int taplen )
return size;
}
-static int cbm_tap_fill_wave( int16_t *buffer, int length, uint8_t *bytes )
+static int cbm_tap_fill_wave( int16_t *buffer, int length, const uint8_t *bytes )
{
int16_t *p = buffer;