mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-11-12 05:13:04 +00:00
fixing some gnuradio-related warnings reported by gcc, so others can be spotted easier
This commit is contained in:
@@ -160,7 +160,7 @@ int unpack_2bit_samples::work(int noutput_items,
|
||||
{
|
||||
if( swap_endian_bytes_ )
|
||||
{
|
||||
for(int i = 0; i < ninput_bytes; ++i)
|
||||
for(unsigned int i = 0; i < ninput_bytes; ++i)
|
||||
{
|
||||
// Read packed input sample (1 byte = 4 samples)
|
||||
raw_byte.byte = in[i];
|
||||
@@ -174,7 +174,7 @@ int unpack_2bit_samples::work(int noutput_items,
|
||||
}
|
||||
else
|
||||
{
|
||||
for( int i = 0; i < ninput_bytes; ++i )
|
||||
for(unsigned int i = 0; i < ninput_bytes; ++i )
|
||||
{
|
||||
|
||||
// Read packed input sample (1 byte = 4 samples)
|
||||
@@ -192,7 +192,7 @@ int unpack_2bit_samples::work(int noutput_items,
|
||||
|
||||
if( swap_endian_bytes_ )
|
||||
{
|
||||
for(int i = 0; i < ninput_bytes; ++i)
|
||||
for(unsigned int i = 0; i < ninput_bytes; ++i)
|
||||
{
|
||||
// Read packed input sample (1 byte = 4 samples)
|
||||
raw_byte.byte = in[i];
|
||||
@@ -206,7 +206,7 @@ int unpack_2bit_samples::work(int noutput_items,
|
||||
}
|
||||
else
|
||||
{
|
||||
for( int i = 0; i < ninput_bytes; ++i )
|
||||
for(unsigned int i = 0; i < ninput_bytes; ++i )
|
||||
{
|
||||
|
||||
// Read packed input sample (1 byte = 4 samples)
|
||||
|
||||
Reference in New Issue
Block a user