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/orao_cas.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/lib/formats/orao_cas.cpp') diff --git a/src/lib/formats/orao_cas.cpp b/src/lib/formats/orao_cas.cpp index a97d8aa691f..2d0f96b2a14 100644 --- a/src/lib/formats/orao_cas.cpp +++ b/src/lib/formats/orao_cas.cpp @@ -19,10 +19,10 @@ #define ORAO_HEADER_SIZE 360 -static INT16 wave_data; +static int16_t wave_data; static int len; -static void orao_output_wave( INT16 **buffer, int length ) { +static void orao_output_wave( int16_t **buffer, int length ) { if ( buffer == nullptr ) { return; } @@ -32,9 +32,9 @@ static void orao_output_wave( INT16 **buffer, int length ) { *buffer = *buffer + 1; } } -static int orao_cas_to_wav_size( const UINT8 *casdata, int caslen ) { +static int orao_cas_to_wav_size( const uint8_t *casdata, int caslen ) { int i,j,size; - UINT8 b; + uint8_t b; if (casdata == nullptr) return -1; if (caslen <= ORAO_HEADER_SIZE) { @@ -55,9 +55,9 @@ static int orao_cas_to_wav_size( const UINT8 *casdata, int caslen ) { return size; } -static int orao_cas_fill_wave( INT16 *buffer, int length, UINT8 *bytes ) { +static int orao_cas_fill_wave( int16_t *buffer, int length, uint8_t *bytes ) { int i,j,size; - UINT8 b; + uint8_t b; size = 0; if (bytes == nullptr) return -1; for (i=ORAO_HEADER_SIZE;i