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/primoptp.cpp | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/lib/formats/primoptp.cpp') diff --git a/src/lib/formats/primoptp.cpp b/src/lib/formats/primoptp.cpp index b3c1875ffb1..5c6779b6613 100644 --- a/src/lib/formats/primoptp.cpp +++ b/src/lib/formats/primoptp.cpp @@ -26,9 +26,9 @@ #define PRIMO_FILE_PILOT_LENGTH ((4*PRIMO_BIT_1_LENGTH + 4*PRIMO_BIT_0_LENGTH)*512) #define PRIMO_BLOCK_PILOT_LENGTH ((8*PRIMO_BIT_1_LENGTH)*96 + (5*PRIMO_BIT_1_LENGTH + 3*PRIMO_BIT_0_LENGTH)*3) -static UINT32 primo_tape_image_length; +static uint32_t primo_tape_image_length; -static INT16 *primo_emit_level(INT16 *p, int count, int level) +static int16_t *primo_emit_level(int16_t *p, int count, int level) { int i; @@ -37,7 +37,7 @@ static INT16 *primo_emit_level(INT16 *p, int count, int level) return p; } -static INT16* primo_output_bit(INT16 *p, UINT8 bit) +static int16_t* primo_output_bit(int16_t *p, uint8_t bit) { if (bit) { @@ -52,7 +52,7 @@ static INT16* primo_output_bit(INT16 *p, UINT8 bit) return p; } -static INT16* primo_output_byte(INT16 *p, UINT8 byte) +static int16_t* primo_output_byte(int16_t *p, uint8_t byte) { int i; @@ -62,11 +62,11 @@ static INT16* primo_output_byte(INT16 *p, UINT8 byte) return p; } -static UINT32 primo_cassette_calculate_number_of_1(const UINT8 *bytes, UINT16 length) +static uint32_t primo_cassette_calculate_number_of_1(const uint8_t *bytes, uint16_t length) { int i,j; - UINT32 number_of_1 = 0; + uint32_t number_of_1 = 0; for (i=0; i