File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -835,7 +835,7 @@ lutok::state::to_boolean(const int index) const
835
835
// / \param index The second parameter to lua_tointeger.
836
836
// /
837
837
// / \return The return value of lua_tointeger.
838
- long
838
+ int
839
839
lutok::state::to_integer (const int index) const
840
840
{
841
841
assert (is_number (index));
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ class state {
133
133
void set_metatable (int ) const ;
134
134
void set_table (int );
135
135
[[nodiscard]] bool to_boolean (int ) const ;
136
- [[nodiscard]] long to_integer (int ) const ;
136
+ [[nodiscard]] int to_integer (int ) const ;
137
137
template < typename Type > Type* to_userdata (int );
138
138
[[nodiscard]] std::string to_string (int ) const ;
139
139
static int upvalue_index (int );
You can’t perform that action at this time.
0 commit comments