summaryrefslogtreecommitdiff
path: root/src/script/api
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/script/api
parent7b400d43c16dfea76ea3cebbe436281915f65dea (diff)
downloadopenttd-fe9731d32c554115724275968c7c06655ae024dd.tar.xz
Fix: clang and MSVC warnings (glx)
Diffstat (limited to 'src/script/api')
-rw-r--r--src/script/api/script_client.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/api/script_client.hpp b/src/script/api/script_client.hpp
index 423f134c0..20cbdc7fe 100644
--- a/src/script/api/script_client.hpp
+++ b/src/script/api/script_client.hpp
@@ -26,7 +26,7 @@ class ScriptClient : public ScriptObject {
public:
/** Different constants related to ClientID. */
- enum ClientID {
+ enum ClientID : uint32 {
CLIENT_INVALID = 0, ///< Client is not part of anything
CLIENT_SERVER = 1, ///< Servers always have this ID
CLIENT_FIRST = 2, ///< The first client ID