summaryrefslogtreecommitdiffstats
path: root/core/dive.h
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2017-03-10 13:37:54 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-11 08:03:25 -0800
commiteae4bd82a5e3009ef555771cb77e9289d2a0f585 (patch)
tree7cd071b080b673ba46f83bcd2deca8a2ac21945e /core/dive.h
parent295b1b78d888b528f7a5a23411b1a82d4b39eed1 (diff)
downloadsubsurface-eae4bd82a5e3009ef555771cb77e9289d2a0f585.tar.gz
Change type of divedatepoint.depth to depth_t
... for consistency, while we are at it. There are still some internal depth variables which are ints somebody might take a go at those. Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/dive.h')
-rw-r--r--core/dive.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/dive.h b/core/dive.h
index 194cb978c..1e10f2ff4 100644
--- a/core/dive.h
+++ b/core/dive.h
@@ -845,7 +845,7 @@ extern double tissue_tolerance_calc(const struct dive *dive, double pressure);
/* this should be converted to use our types */
struct divedatapoint {
int time;
- int depth;
+ depth_t depth;
int cylinderid;
int setpoint;
bool entered;