diff options
author | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-16 09:42:03 +0200 |
---|---|---|
committer | Benoit Germain <benoit.germain@ubisoft.com> | 2024-10-16 09:42:03 +0200 |
commit | 54acd7514dc0a2e9d593dd6312eae90ae6c0d6b5 (patch) | |
tree | 358653435a913392b8d8d028f0360c951b525307 /src/universe.cpp | |
parent | 7d94b18dcc41ccdcb5c8e9cff658b7c2a84b283f (diff) | |
download | lanes-54acd7514dc0a2e9d593dd6312eae90ae6c0d6b5.tar.gz lanes-54acd7514dc0a2e9d593dd6312eae90ae6c0d6b5.tar.bz2 lanes-54acd7514dc0a2e9d593dd6312eae90ae6c0d6b5.zip |
Fix/suppress MSVC /Wall warnings
Diffstat (limited to '')
-rw-r--r-- | src/universe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/universe.cpp b/src/universe.cpp index c435dad..7630e9c 100644 --- a/src/universe.cpp +++ b/src/universe.cpp | |||
@@ -170,7 +170,7 @@ void Universe::callOnStateCreate(lua_State* const L_, lua_State* const from_, Lo | |||
170 | _U->selfdestructFirst = SELFDESTRUCT_END; | 170 | _U->selfdestructFirst = SELFDESTRUCT_END; |
171 | _U->initializeAllocatorFunction(L_); | 171 | _U->initializeAllocatorFunction(L_); |
172 | _U->initializeOnStateCreate(L_); | 172 | _U->initializeOnStateCreate(L_); |
173 | _U->keepers.initialize(*_U, L_, _nbUserKeepers, _keepers_gc_threshold); | 173 | _U->keepers.initialize(*_U, L_, static_cast<size_t>(_nbUserKeepers), _keepers_gc_threshold); |
174 | STACK_CHECK(L_, 0); | 174 | STACK_CHECK(L_, 0); |
175 | 175 | ||
176 | // Initialize 'timerLinda'; a common Linda object shared by all states | 176 | // Initialize 'timerLinda'; a common Linda object shared by all states |