summaryrefslogtreecommitdiffstats
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-07 22:37:32 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-10-07 22:39:52 -0700
commit7180c708e9cd8de3ebb5e281fe2709a027624cee (patch)
tree4998c08cf77ccced7a3d37070e999215e8c413c5 /deco.c
parent00eba99039d714d39e47363698687843b7731c19 (diff)
downloadsubsurface-7180c708e9cd8de3ebb5e281fe2709a027624cee.tar.gz
Fix some signedness issues
I always worry if these are worth following up on - but these seem pretty clear and obvious to me. As far as the planner is concerned, depth is unsigned. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'deco.c')
-rw-r--r--deco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deco.c b/deco.c
index 788c258fe..baa727c89 100644
--- a/deco.c
+++ b/deco.c
@@ -23,7 +23,7 @@
struct buehlmann_config {
double satmult; //! safety at inert gas accumulation as percentage of effect (more than 100).
double desatmult; //! safety at inert gas depletion as percentage of effect (less than 100).
- int last_deco_stop_in_mtr; //! depth of last_deco_stop.
+ unsigned int last_deco_stop_in_mtr; //! depth of last_deco_stop.
double gf_high; //! gradient factor high (at surface).
double gf_low; //! gradient factor low (at bottom/start of deco calculation).
double gf_low_position_min; //! gf_low_position below surface_min_shallow.