1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-01-29 10:24:51 +00:00

Fix warnings

This commit is contained in:
Carles Fernandez 2017-10-21 13:38:25 +02:00
parent ff4938702e
commit d0bd3987e1

View File

@ -1596,9 +1596,9 @@ Gnuplot& Gnuplot::plot_image(const unsigned char * ucPicBuf,
// write the data to file
//
int iIndex = 0;
for(int iRow = 0; iRow < iHeight; iRow++)
for(unsigned int iRow = 0; iRow < iHeight; iRow++)
{
for(int iColumn = 0; iColumn < iWidth; iColumn++)
for(unsigned int iColumn = 0; iColumn < iWidth; iColumn++)
{
tmp << iColumn << " " << iRow << " "
<< static_cast<float>(ucPicBuf[iIndex++]) << std::endl;