diff options
-rw-r--r-- | core/dive.h | 2 | ||||
-rw-r--r-- | core/divelist.c | 2 | ||||
-rw-r--r-- | core/load-git.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/core/dive.h b/core/dive.h index 6b6330790..4f9db7591 100644 --- a/core/dive.h +++ b/core/dive.h @@ -525,7 +525,7 @@ static inline depth_t gas_mnd(struct gasmix *mix, depth_t end, struct dive *dive #define SURFACE_THRESHOLD 750 /* somewhat arbitrary: only below 75cm is it really diving */ -extern short autogroup; +extern bool autogroup; /* random threashold: three days without diving -> new trip * this works very well for people who usually dive as part of a trip and don't * regularly dive at a local facility; this is why trips are an optional feature */ diff --git a/core/divelist.c b/core/divelist.c index 117791e52..7c3201a3d 100644 --- a/core/divelist.c +++ b/core/divelist.c @@ -49,7 +49,7 @@ static bool dive_list_changed = false; -short autogroup = false; +bool autogroup = false; dive_trip_t *dive_trip_list; diff --git a/core/load-git.c b/core/load-git.c index 5411eafcb..7214f864e 100644 --- a/core/load-git.c +++ b/core/load-git.c @@ -833,7 +833,7 @@ static void parse_settings_autogroup(char *line, struct membuffer *str, void *_u (void) line; (void) str; (void) _unused; - set_autogroup(1); + set_autogroup(true); } static void parse_settings_units(char *line, struct membuffer *str, void *unused) |