summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Jan Schubert <Jan.Schubert@GMX.li>2013-02-02 19:38:51 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-03 07:07:12 +1100
commit99dbd667bf2a40f2ea8444780310114e353f4557 (patch)
tree4a9e686e515cf9124b62932df7c26a19f7bfd418 /dive.h
parent59cfa5c427da640ce15fe60c0d271532b26b14e4 (diff)
downloadsubsurface-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.h b/dive.h
index 3236e888f..50a404a57 100644
--- a/dive.h
+++ b/dive.h
@@ -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);