diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 18:52:41 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 21:47:18 -0800 |
commit | 7d1c2a142fcae4e4085a9f04d0c7a02d4089b6c7 (patch) | |
tree | da245102b4eb85045a17bb121ecbaa8f4b53a5e8 /subsurface-core | |
parent | 7f2ad93396091edd58b4e0930b5e62d2f6a066c7 (diff) | |
download | subsurface-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.h | 18 |
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}; |