From ae0d84b14f391f100fe5c8c34a1dbbaa72722972 Mon Sep 17 00:00:00 2001 From: Dmitry Boyarintsev <[email protected]> Date: Tue, 10 Mar 2020 08:46:24 -0400 git-svn-id: branches/wasm@46086 -
@@ -491,7 +491,7 @@ begin
//u64 := UInt64(i64)
end else begin
Val(operand, u64, err);
- if Result then WriteU64(dst, u64);
+ if Result then WriteS64(dst, Int64(u64));
end;
Result := (err = 0);