1
0
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:
Carles Fernandez
2015-12-02 18:25:06 +01:00
parent 17517625be
commit 45195917c1
51 changed files with 365 additions and 291 deletions

View File

@@ -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)