diff options
Diffstat (limited to 'src/universe.cpp')
-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 |