diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 18:51:13 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-09 21:47:15 -0800 |
commit | 7f2ad93396091edd58b4e0930b5e62d2f6a066c7 (patch) | |
tree | c92f31642baa578d75d8e726ae1833b73c7a0c81 /subsurface-core/profile.h | |
parent | 59299f0ab34ca4d75e0b02d9a83f23ec6348e1df (diff) | |
download | subsurface-7f2ad93396091edd58b4e0930b5e62d2f6a066c7.tar.gz |
Clean up signedness confusion in profile.c
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/profile.h')
-rw-r--r-- | subsurface-core/profile.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subsurface-core/profile.h b/subsurface-core/profile.h index abac9dd49..b03dae9c9 100644 --- a/subsurface-core/profile.h +++ b/subsurface-core/profile.h @@ -20,8 +20,8 @@ struct divecomputer; struct plot_info; struct plot_data { unsigned int in_deco : 1; - int cylinderindex; - int sec; + unsigned int cylinderindex; + unsigned int sec; /* pressure[0] is sensor cylinder pressure [when CCR, the pressure of the diluent cylinder] * pressure[1] is interpolated cylinder pressure */ int pressure[2]; @@ -77,7 +77,7 @@ struct plot_data *populate_plot_entries(struct dive *dive, struct divecomputer * struct plot_info *analyze_plot_info(struct plot_info *pi); void create_plot_info_new(struct dive *dive, struct divecomputer *dc, struct plot_info *pi, bool fast); void calculate_deco_information(struct dive *dive, struct divecomputer *dc, struct plot_info *pi, bool print_mode); -struct plot_data *get_plot_details_new(struct plot_info *pi, int time, struct membuffer *); +struct plot_data *get_plot_details_new(struct plot_info *pi, unsigned int time, struct membuffer *); /* * When showing dive profiles, we scale things to the |