summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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};