diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-31 12:23:09 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-31 12:23:09 -0800 |
commit | 5edd66f9c9d489c7e78dc6c60751a29848219e08 (patch) | |
tree | 9e70a083f1aece7cab38f28744a04a6ccee763b4 /src/long.js | |
parent | ac9746686208c6d1a00c90830a93cc5a620bc11e (diff) |
fix parseInt64
Diffstat (limited to 'src/long.js')
-rw-r--r-- | src/long.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/long.js b/src/long.js index a5367b2c..c3b0e605 100644 --- a/src/long.js +++ b/src/long.js @@ -1649,8 +1649,8 @@ var i64Math = (function() { // Emscripten wrapper error = true; } var ret = goog.math.Long.fromString(bignum.toString()); // min-max checks should have clamped this to a range goog.math.Long can handle well - Wrapper.result[0] = ret.low_; - Wrapper.result[1] = ret.high_; + HEAP32[tempDoublePtr>>2] = ret.low_; + HEAP32[tempDoublePtr+4>>2] = ret.high_; if (error) throw 'range error'; } }; |