core/tests: change short to int in pref.h

Simplify structure preferences by removing short. Update test cases to not
do (int).

Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
jan Iversen 2018-09-02 14:35:43 +02:00 committed by Dirk Hohndel
parent d5bbfac6a3
commit 4d57b52062
2 changed files with 15 additions and 15 deletions

View file

@ -93,8 +93,8 @@ struct preferences {
const char *cloud_storage_email_encoded;
const char *cloud_storage_password;
const char *cloud_storage_pin;
short cloud_timeout;
short cloud_verification_status;
int cloud_timeout;
int cloud_verification_status;
bool save_password_local;
// ********** DiveComputer **********
@ -181,8 +181,8 @@ struct preferences {
enum deco_mode display_deco_mode;
bool display_unused_tanks;
bool ead;
short gfhigh;
short gflow;
int gfhigh;
int gflow;
bool gf_low_at_maxdepth;
bool hrgraph;
bool mod;
@ -199,7 +199,7 @@ struct preferences {
bool show_sac;
bool show_scr_ocpo2;
bool tankbar;
short vpmb_conservatism;
int vpmb_conservatism;
bool zoomed_plot;
// ********** Units **********