From 4d57b52062ab902dee8d82e453eda586ce78ab3e Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Sun, 2 Sep 2018 14:35:43 +0200 Subject: 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 --- core/pref.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'core/pref.h') diff --git a/core/pref.h b/core/pref.h index 86636b878..4db6d0e40 100644 --- a/core/pref.h +++ b/core/pref.h @@ -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 ********** -- cgit v1.2.3-70-g09d2