From a678cba93a4d32894ab089525281a7172a0ef04d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 10 Mar 2016 07:37:18 -0800 Subject: Revert "Clean up signedness confusion in profile.c" This reverts commit 7f2ad93396091edd58b4e0930b5e62d2f6a066c7. Idiot maintainer to do cleanup like this right before a release --- subsurface-core/profile.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'subsurface-core/profile.h') diff --git a/subsurface-core/profile.h b/subsurface-core/profile.h index b03dae9c9..abac9dd49 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; - unsigned int cylinderindex; - unsigned int sec; + int cylinderindex; + 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, unsigned int time, struct membuffer *); +struct plot_data *get_plot_details_new(struct plot_info *pi, int time, struct membuffer *); /* * When showing dive profiles, we scale things to the -- cgit v1.2.3-70-g09d2