From 56395b38946d4b7de9e485098e928e8e432ef920 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 29 May 2014 13:13:11 -0700 Subject: Don't assume that pressures are always positive When planning a dive, the dive could use more gas than is in the cylinder. So getting a negative end pressure is a useful indication to the user that there plan might not be a good one. Signed-off-by: Dirk Hohndel --- dive.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dive.h') diff --git a/dive.h b/dive.h index 50bd2df39..03acea496 100644 --- a/dive.h +++ b/dive.h @@ -68,7 +68,7 @@ typedef struct const char *description; /* "integrated", "belt", "ankle" */ } weightsystem_t; -extern int get_pressure_units(unsigned int mb, const char **units); +extern int get_pressure_units(int mb, const char **units); extern double get_depth_units(int mm, int *frac, const char **units); extern double get_volume_units(unsigned int ml, int *frac, const char **units); extern double get_temp_units(unsigned int mk, const char **units); -- cgit v1.2.3-70-g09d2