summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib
diff options
context:
space:
mode:
authorTom Rondeau2011-03-27 13:41:32 -0400
committerTom Rondeau2011-03-27 13:41:32 -0400
commitb7f96d543b35b8d5a401ced3afbc0aff2d7043db (patch)
tree23826f0b73b1408902864c37b74a8b99f4316884 /gr-qtgui/lib
parent59fc7194d5e7f486605d2df2d3e83e30d1b5a653 (diff)
downloadgnuradio-b7f96d543b35b8d5a401ced3afbc0aff2d7043db.tar.gz
gnuradio-b7f96d543b35b8d5a401ced3afbc0aff2d7043db.tar.bz2
gnuradio-b7f96d543b35b8d5a401ced3afbc0aff2d7043db.zip
gr-qtgui: fixed some signed/unsigned comparison warnings.
Diffstat (limited to 'gr-qtgui/lib')
-rw-r--r--gr-qtgui/lib/WaterfallDisplayPlot.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-qtgui/lib/WaterfallDisplayPlot.cc b/gr-qtgui/lib/WaterfallDisplayPlot.cc
index a8e5361e7..08a71c023 100644
--- a/gr-qtgui/lib/WaterfallDisplayPlot.cc
+++ b/gr-qtgui/lib/WaterfallDisplayPlot.cc
@@ -142,7 +142,7 @@ public:
std::string time_str = pt::to_simple_string(pt::from_time_t(lineTime.tv_sec));
// lops off the YYYY-mmm-DD part of the string
- int ind = time_str.find(" ");
+ size_t ind = time_str.find(" ");
if(ind != std::string::npos)
time_str = time_str.substr(ind);
return QwtText(QString("").sprintf("%s.%03ld", time_str.c_str(), lineTime.tv_nsec/1000000));
@@ -194,7 +194,7 @@ protected:
std::string time_str = pt::to_simple_string(pt::from_time_t(lineTime.tv_sec));
// lops off the YYYY-mmm-DD part of the string
- int ind = time_str.find(" ");
+ size_t ind = time_str.find(" ");
if(ind != std::string::npos)
time_str = time_str.substr(ind);
QString yLabel(QString("").sprintf("%s.%03ld", time_str.c_str(), lineTime.tv_nsec/1000000));