diff options
author | rubidium <rubidium@openttd.org> | 2010-02-03 21:45:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-02-03 21:45:48 +0000 |
commit | d818c7c7b1a1c603b108ad59ed5b97d499be6acd (patch) | |
tree | c90cfa2848add863d59e3cdfdc95df294c740957 /src/core | |
parent | a61cd5ad85b7d597b6193b9385ea938cd0a5be1a (diff) | |
download | openttd-d818c7c7b1a1c603b108ad59ed5b97d499be6acd.tar.xz |
(svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain about
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/smallvec_type.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/smallvec_type.hpp b/src/core/smallvec_type.hpp index 832ba4792..0a5c982cd 100644 --- a/src/core/smallvec_type.hpp +++ b/src/core/smallvec_type.hpp @@ -79,9 +79,9 @@ public: * @param to_add the number of items to append * @return pointer to newly allocated item */ - FORCEINLINE T *Append(size_t to_add = 1) + FORCEINLINE T *Append(uint to_add = 1) { - size_t begin = this->items; + uint begin = this->items; this->items += to_add; if (this->items > this->capacity) { |