Set sizes for various enum types

This commit is contained in:
Jonathan G Rennison
2024-01-23 19:19:31 +00:00
parent ba5d3588aa
commit b64a51876a
5 changed files with 37 additions and 37 deletions

View File

@@ -24,7 +24,7 @@ static const RoadTypeLabel ROADTYPE_LABEL_TRAM = 'ELRL';
*
* @note currently only ROADTYPE_ROAD and ROADTYPE_TRAM are supported.
*/
enum RoadType {
enum RoadType : uint8_t {
ROADTYPE_BEGIN = 0, ///< Used for iterations
ROADTYPE_ROAD = 0, ///< Basic road type
ROADTYPE_TRAM = 1, ///< Trams