From ddb290d5f615019c33c42b8d94e5a5254cabcf33 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 22 Oct 2016 13:13:17 +0200 Subject: NOTICE (TYPE NAME CONSOLIDATION) Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8 --- src/lib/formats/svi_cas.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/formats/svi_cas.cpp') diff --git a/src/lib/formats/svi_cas.cpp b/src/lib/formats/svi_cas.cpp index 4030fedc051..c681c36d9dd 100644 --- a/src/lib/formats/svi_cas.cpp +++ b/src/lib/formats/svi_cas.cpp @@ -10,7 +10,7 @@ #define CAS_EMPTY_SAMPLES (24220) #define CAS_INIT_SAMPLES (200) -static const UINT8 CasHeader[17] = +static const uint8_t CasHeader[17] = { 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x55, 0x7f @@ -24,7 +24,7 @@ static int cas_size; /******************************************************************* Generate samples for the tape image ********************************************************************/ -static int svi_cas_fill_wave(INT16 *buffer, int sample_count, UINT8 *bytes) +static int svi_cas_fill_wave(int16_t *buffer, int sample_count, uint8_t *bytes) { int cas_pos, samples_pos, n, i; @@ -112,7 +112,7 @@ static int svi_cas_fill_wave(INT16 *buffer, int sample_count, UINT8 *bytes) /******************************************************************* Calculate the number of samples needed for this tape image ********************************************************************/ -static int svi_cas_to_wav_size(const UINT8 *casdata, int caslen) +static int svi_cas_to_wav_size(const uint8_t *casdata, int caslen) { int cas_pos, samples_pos, size, i; -- cgit v1.2.3-70-g09d2