summaryrefslogtreecommitdiff
path: root/src/script/squirrel_helper_type.hpp
diff options
context:
space:
mode:
authorglx22 <glx22@users.noreply.github.com>2019-03-28 00:09:33 +0100
committerGitHub <noreply@github.com>2019-03-28 00:09:33 +0100
commit66dd7c3879123bb99b712375b66b577f81d53a96 (patch)
tree6231635658dab5ba63b776e9350884c083617cb1 /src/script/squirrel_helper_type.hpp
parente817951bfdc229b404d5fec188c67f5202a0e774 (diff)
downloadopenttd-66dd7c3879123bb99b712375b66b577f81d53a96.tar.xz
Fix: MSVC warnings (#7423)
Diffstat (limited to 'src/script/squirrel_helper_type.hpp')
-rw-r--r--src/script/squirrel_helper_type.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/script/squirrel_helper_type.hpp b/src/script/squirrel_helper_type.hpp
index 946a59547..a42cd79a9 100644
--- a/src/script/squirrel_helper_type.hpp
+++ b/src/script/squirrel_helper_type.hpp
@@ -14,7 +14,7 @@
/** Definition of a simple array. */
struct Array {
- int32 size; ///< The size of the array.
+ size_t size; ///< The size of the array.
int32 array[]; ///< The data of the array.
};