diff options
author | Tom Rondeau | 2011-03-27 13:41:32 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-03-27 13:41:32 -0400 |
commit | b7f96d543b35b8d5a401ced3afbc0aff2d7043db (patch) | |
tree | 23826f0b73b1408902864c37b74a8b99f4316884 /gr-qtgui/lib | |
parent | 59fc7194d5e7f486605d2df2d3e83e30d1b5a653 (diff) | |
download | gnuradio-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.cc | 4 |
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)); |