diff options
-rw-r--r-- | src/hir/serialise_lowlevel.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hir/serialise_lowlevel.hpp b/src/hir/serialise_lowlevel.hpp index b710669e..5172e8e9 100644 --- a/src/hir/serialise_lowlevel.hpp +++ b/src/hir/serialise_lowlevel.hpp @@ -220,7 +220,7 @@ public: return -static_cast<int64_t>(va); } else { - return -static_cast<uint64_t>(va); + return static_cast<int64_t>(va); } } double read_double() { |