mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Don't try to force depth to be unsigned
Trying to clean up the signed vs. unsigned issues it becomes clear that forcing depth to be unsigned causes way too many problems in the code. So this commit goes the opposite direction; since we clearly aren't limited INT_MAX vs UINT_MAX, simply make more of the depth related variables signed. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e93c99c8bc
commit
22c94a3e65
5 changed files with 19 additions and 18 deletions
|
@ -11,6 +11,7 @@ extern double tissue_inertgas_saturation[16];
|
|||
extern double buehlmann_inertgas_a[16], buehlmann_inertgas_b[16];
|
||||
extern double gf_low_pressure_this_dive;
|
||||
|
||||
extern int deco_allowed_depth(double tissues_tolerance, double surface_pressure, struct dive *dive, bool smooth);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue