Revert "Clean up signedness confusion in profile.c"

This reverts commit 7f2ad93396.

Idiot maintainer to do cleanup like this right before a release
This commit is contained in:
Dirk Hohndel 2016-03-10 07:37:18 -08:00
parent 557eb744a3
commit a678cba93a
2 changed files with 19 additions and 20 deletions

View file

@ -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