summaryrefslogtreecommitdiff
path: root/src/network/network_type.h
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-09-19 13:01:57 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-09-30 14:00:06 +0100
commitfe9731d32c554115724275968c7c06655ae024dd (patch)
tree2b23b65ee4f34bdf9f1bc456066bcb71473353b2 /src/network/network_type.h
parent7b400d43c16dfea76ea3cebbe436281915f65dea (diff)
downloadopenttd-fe9731d32c554115724275968c7c06655ae024dd.tar.xz
Fix: clang and MSVC warnings (glx)
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r--src/network/network_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_type.h b/src/network/network_type.h
index 9b598716f..d511f5c0c 100644
--- a/src/network/network_type.h
+++ b/src/network/network_type.h
@@ -38,7 +38,7 @@ enum NetworkVehicleType {
};
/** 'Unique' identifier to be given to clients */
-enum ClientID {
+enum ClientID : uint32 {
INVALID_CLIENT_ID = 0, ///< Client is not part of anything
CLIENT_ID_SERVER = 1, ///< Servers always have this ID
CLIENT_ID_FIRST = 2, ///< The first client ID