aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/profile.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-10 07:37:18 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-10 07:37:18 -0800
commita678cba93a4d32894ab089525281a7172a0ef04d (patch)
tree9d007ee142d810e353f728c69b6d5bbdd873de1c /subsurface-core/profile.h
parent557eb744a3d7a04c8f2283bbcfc90a8143e7f407 (diff)
downloadsubsurface-a678cba93a4d32894ab089525281a7172a0ef04d.tar.gz
Revert "Clean up signedness confusion in profile.c"
This reverts commit 7f2ad93396091edd58b4e0930b5e62d2f6a066c7. Idiot maintainer to do cleanup like this right before a release
Diffstat (limited to 'subsurface-core/profile.h')
-rw-r--r--subsurface-core/profile.h6
1 files changed, 3 insertions, 3 deletions
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