mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Some changes to make sure builds go through on 64-bit.
This commit is contained in:
parent
9e47ec6b06
commit
fc19896815
|
@ -42,11 +42,11 @@ private:
|
||||||
}
|
}
|
||||||
|
|
||||||
void call(types<void>, std::size_t n) {
|
void call(types<void>, std::size_t n) {
|
||||||
lua_pcall(state(), n, 0, 0);
|
lua_pcall(state(), static_cast<uint32_t>(n), 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
void call(types<>, std::size_t n) {
|
void call(types<>, std::size_t n) {
|
||||||
lua_pcall(state(), n, 0, 0);
|
lua_pcall(state(), static_cast<uint32_t>(n), 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user