diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-03-18 20:26:29 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-18 11:56:06 -0700 |
commit | 6d6721dc9b622fda17b0c2c08e7d646b7e2044e1 (patch) | |
tree | 6751e1a9a7621214185c6abf9268d52d24025bb4 /qt-ui/profile/diveplotdatamodel.h | |
parent | a90818671693fd87f7d76c59a68fe1e3262fc32c (diff) | |
download | subsurface-6d6721dc9b622fda17b0c2c08e7d646b7e2044e1.tar.gz |
Profile2: use unsigned int for the divecomputer number
display.h: dc_number is unsigned int, thus a couple of warnings
may pop-out.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/profile/diveplotdatamodel.h')
-rw-r--r-- | qt-ui/profile/diveplotdatamodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qt-ui/profile/diveplotdatamodel.h b/qt-ui/profile/diveplotdatamodel.h index 272c0d1c3..35805256d 100644 --- a/qt-ui/profile/diveplotdatamodel.h +++ b/qt-ui/profile/diveplotdatamodel.h @@ -55,7 +55,7 @@ public: void setDive(struct dive *d, const plot_info &pInfo); const plot_info &data() const; int id() const; - int dcShown() const; + unsigned int dcShown() const; double pheMax(); double pn2Max(); double po2Max(); @@ -65,7 +65,7 @@ public: private: plot_info pInfo; int diveId; - int dcNr; + unsigned int dcNr; }; #endif // DIVEPLOTDATAMODEL_H |