summaryrefslogtreecommitdiffstats
path: root/subsurface-core
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 18:52:41 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-09 21:47:18 -0800
commit7d1c2a142fcae4e4085a9f04d0c7a02d4089b6c7 (patch)
treeda245102b4eb85045a17bb121ecbaa8f4b53a5e8 /subsurface-core
parent7f2ad93396091edd58b4e0930b5e62d2f6a066c7 (diff)
downloadsubsurface-7d1c2a142fcae4e4085a9f04d0c7a02d4089b6c7.tar.gz
Clean up signedness confusion in gaspressures.h
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core')
-rw-r--r--subsurface-core/gaspressures.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/subsurface-core/gaspressures.h b/subsurface-core/gaspressures.h
index 420c117a2..ee1835314 100644
--- a/subsurface-core/gaspressures.h
+++ b/subsurface-core/gaspressures.h
@@ -11,20 +11,20 @@ extern "C" {
* pressure reading from the tank */
typedef struct pr_track_struct pr_track_t;
struct pr_track_struct {
- int start;
- int end;
- int t_start;
- int t_end;
- int pressure_time;
+ unsigned int start;
+ unsigned int end;
+ unsigned int t_start;
+ unsigned int t_end;
+ unsigned int pressure_time;
pr_track_t *next;
};
typedef struct pr_interpolate_struct pr_interpolate_t;
struct pr_interpolate_struct {
- int start;
- int end;
- int pressure_time;
- int acc_pressure_time;
+ unsigned int start;
+ unsigned int end;
+ unsigned int pressure_time;
+ unsigned int acc_pressure_time;
};
enum interpolation_strategy {SAC, TIME, CONSTANT};