mirror of
https://git.tesses.org/tesses50/crosslang.git
synced 2026-10-01 17:14:13 +00:00
Use new build setup
This commit is contained in:
@@ -3195,7 +3195,7 @@ bool InterperterThread::ExecuteMethod2(std::shared_ptr<GC> gc, TObject instance,
|
||||
if (GetArgument(args, 0, index) &&
|
||||
(size_t)index < bArray->data.size() &&
|
||||
(size_t)index + 8 <= bArray->data.size()) {
|
||||
uint64_t value = BitConverter::ToDoubleLE(
|
||||
double value = BitConverter::ToDoubleLE(
|
||||
bArray->data[(size_t)index]);
|
||||
|
||||
cse.back()->Push(gc, value);
|
||||
@@ -3218,7 +3218,7 @@ bool InterperterThread::ExecuteMethod2(std::shared_ptr<GC> gc, TObject instance,
|
||||
if (GetArgument(args, 0, index) &&
|
||||
(size_t)index < bArray->data.size() &&
|
||||
(size_t)index + 8 <= bArray->data.size()) {
|
||||
uint64_t value = BitConverter::ToDoubleBE(
|
||||
double value = BitConverter::ToDoubleBE(
|
||||
bArray->data[(size_t)index]);
|
||||
|
||||
cse.back()->Push(gc, value);
|
||||
|
||||
@@ -188,7 +188,7 @@ bool InterperterThread::GetField(std::shared_ptr<GC> gc) {
|
||||
|
||||
if (netStrm != nullptr) {
|
||||
if (key == "Port") {
|
||||
cse.back()->Push(gc, netStrm->GetPort());
|
||||
cse.back()->Push(gc, (int64_t)netStrm->GetPort());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user