From ce4ca0ac08f6c0e1634af12c02d2d546d71c31c0 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Sat, 12 Jun 2021 12:05:12 +1000 Subject: [PATCH] AP_InternalError: specify size for error_t --- libraries/AP_InternalError/AP_InternalError.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_InternalError/AP_InternalError.h b/libraries/AP_InternalError/AP_InternalError.h index cce75435ea..c2e5ef1dc3 100644 --- a/libraries/AP_InternalError/AP_InternalError.h +++ b/libraries/AP_InternalError/AP_InternalError.h @@ -36,7 +36,7 @@ public: // note that this map is an internal ArduPilot fixture and is // prone to change at regular intervals. The meanings of these // bits can change day-to-day. - enum class error_t { // Hex Decimal + enum class error_t : uint32_t { // Hex Decimal logger_mapfailure = (1U << 0), // 0x00001 1 logger_missing_logstructure = (1U << 1), // 0x00002 2 logger_logwrite_missingfmt = (1U << 2), // 0x00004 4