summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-10 07:40:15 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-10 07:40:15 -0800
commitd9c3fc994668d83be2c1b3ebf09cd7a05b9b6f42 (patch)
tree767f9a3fad20994cf5139426e518c38987e18314
parenta678cba93a4d32894ab089525281a7172a0ef04d (diff)
downloadsubsurface-d9c3fc994668d83be2c1b3ebf09cd7a05b9b6f42.tar.gz
Revert "Clean up signedness confusion in gaspressures.h"
This reverts commit 7d1c2a142fcae4e4085a9f04d0c7a02d4089b6c7. Another one.
-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 ee1835314..420c117a2 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 {
- unsigned int start;
- unsigned int end;
- unsigned int t_start;
- unsigned int t_end;
- unsigned int pressure_time;
+ int start;
+ int end;
+ int t_start;
+ int t_end;
+ int pressure_time;
pr_track_t *next;
};
typedef struct pr_interpolate_struct pr_interpolate_t;
struct pr_interpolate_struct {
- unsigned int start;
- unsigned int end;
- unsigned int pressure_time;
- unsigned int acc_pressure_time;
+ int start;
+ int end;
+ int pressure_time;
+ int acc_pressure_time;
};
enum interpolation_strategy {SAC, TIME, CONSTANT};