From a05d6ee404b597cbae303f81dcc234ab06340274 Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Thu, 7 Dec 2023 18:30:09 +0000 Subject: [PATCH] Fix: Ensure saveload type match variable type. This either changes the saveload definition or changes the variable depending on which makes more sense. --- src/settings_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/settings_type.h b/src/settings_type.h index 571a09f26e..c70f5f98ae 100644 --- a/src/settings_type.h +++ b/src/settings_type.h @@ -64,14 +64,14 @@ enum IndustryDensity { }; /** Possible values for "use_relay_service" setting. */ -enum UseRelayService { +enum UseRelayService : uint8_t { URS_NEVER = 0, URS_ASK, URS_ALLOW, }; /** Possible values for "participate_survey" setting. */ -enum ParticipateSurvey { +enum ParticipateSurvey : uint8_t { PS_ASK = 0, PS_NO, PS_YES,