diff options
author | Jan Schubert <Jan.Schubert@GMX.li> | 2013-02-02 19:38:51 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-02-03 07:07:12 +1100 |
commit | 99dbd667bf2a40f2ea8444780310114e353f4557 (patch) | |
tree | 4a9e686e515cf9124b62932df7c26a19f7bfd418 /dive.h | |
parent | 59cfa5c427da640ce15fe60c0d271532b26b14e4 (diff) | |
download | subsurface-99dbd667bf2a40f2ea8444780310114e353f4557.tar.gz |
Fixing SP handling in planner, adding event
This moves some double/floating handling for po2 to plain integer. There
are still non int values around (also for phe and po2) in the plot area.
Signed-off-by: Jan Schubert <Jan.Schubert@GMX.li>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
-rw-r--r-- | dive.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -599,7 +599,7 @@ extern void subsurface_command_line_exit(gint *, gchar ***); #define FRACTION(n,x) ((unsigned)(n)/(x)),((unsigned)(n)%(x)) -extern double add_segment(double pressure, struct gasmix *gasmix, int period_in_seconds, double setpoint, const struct dive *dive); +extern double add_segment(double pressure, struct gasmix *gasmix, int period_in_seconds, int setpoint, const struct dive *dive); extern void clear_deco(double surface_pressure); extern void dump_tissues(void); extern unsigned int deco_allowed_depth(double tissues_tolerance, double surface_pressure, struct dive *dive, gboolean smooth); |