summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorGravatar jan Iversen <jani@apache.org>2018-09-02 14:35:43 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-11 17:22:58 -0700
commit4d57b52062ab902dee8d82e453eda586ce78ab3e (patch)
tree869aac1f2419d29e6cf51369c9745792ed9408c4 /core
parentd5bbfac6a33c30020255a10c82305276d95d5ab6 (diff)
downloadsubsurface-4d57b52062ab902dee8d82e453eda586ce78ab3e.tar.gz
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>
Diffstat (limited to 'core')
-rw-r--r--core/pref.h10
1 files changed, 5 insertions, 5 deletions
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 **********