Skip to content

Commit

Permalink
LuaProxyFileFormats.cpp: a second attempt of type fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Wohlstand authored Dec 26, 2019
1 parent 68b967f commit 2846906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions LunaDll/LuaMain/LuaProxyComponent/LuaProxyFileFormats.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ struct LuaSACKS : public nlohmann::json_sax<json>
// called when a signed or unsigned integer number is parsed; value is passed
bool number_integer(number_integer_t val)
{
addValue(static_cast<int64_t>(val));
addValue(static_cast<long>(val));
return true;
}
bool number_unsigned(number_unsigned_t val)
{
addValue(static_cast<uint64_t>(val));
addValue(static_cast<unsigned long>(val));
return true;
}

Expand Down

0 comments on commit 2846906

Please sign in to comment.