mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
a908186716
commit
6d6721dc9b
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue