summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/formats/orao_cas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/formats/orao_cas.cpp')
-rw-r--r--src/lib/formats/orao_cas.cpp12
1 files changed, 6 insertions, 6 deletions
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<len-ORAO_HEADER_SIZE;i++) {