From 2e462d73bfa39832a9cf12c76b301944c76c8901 Mon Sep 17 00:00:00 2001 From: Peter Bennett Date: Sat, 3 Aug 2024 15:17:04 -0400 Subject: [PATCH] Fix for negative RecStatus enum values RecStatus::Type does not work correctly when specified as int8_t or int16_t. Negative values are not translated correctly. Fixed this by changing RecStatus::Type back to plain enum with default type. --- mythtv/libs/libmythbase/recordingstatus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mythtv/libs/libmythbase/recordingstatus.h b/mythtv/libs/libmythbase/recordingstatus.h index 3a950c1c788..067c34c6dd6 100644 --- a/mythtv/libs/libmythbase/recordingstatus.h +++ b/mythtv/libs/libmythbase/recordingstatus.h @@ -12,7 +12,7 @@ class MBASE_PUBLIC RecStatus : public QObject Q_OBJECT public: - enum Type : std::int8_t { + enum Type { Pending = -15, Failing = -14, //OtherRecording = -13, (obsolete)