Commit e821ed78 authored by sagnowski's avatar sagnowski
Browse files

Fix MSVC warnings

parent c4eb7510
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -170,8 +170,8 @@ uint8_t apa_init(
        return 2;
    }
#ifdef MC_JBM
    ps->num_channels = num_channels;
    ps->buf_out_capacity = APA_BUF_PER_CHANNEL * num_channels;
    ps->num_channels = (uint16_t) num_channels;
    ps->buf_out_capacity = (uint16_t) ( APA_BUF_PER_CHANNEL * num_channels );
    ps->buf_out = count_malloc( sizeof( float ) * ps->buf_out_capacity );
    if ( !ps->buf_out )
    {
+1 −1
Original line number Diff line number Diff line
@@ -1243,7 +1243,7 @@ static void bsCompactToSerial( const uint8_t *compact, uint16_t *serial, uint16_
/* Bitstream conversion is not counted towards complexity and memory usage */
#define WMC_TOOL_MAN
    uint32_t i;
    uint8_t byte;
    uint8_t byte = 0;
    const uint8_t mask = 0x80;

    for ( i = 0; i < num_bits; ++i )