mirror of https://github.com/lukechilds/node.git
Browse Source
Passing the uid via v8::Integer::New() converts it to a uint32_t. Which will trim the value early. Instead use v8::Number::New() to convert the int64_t to a double so that JS can see the full 2^53 range of uid's. PR-URL: https://github.com/nodejs/node/pull/7096 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Andreas Madsen <amwebdk@gmail.com>v6.x
Trevor Norris
9 years ago
committed by
Rod Vagg
2 changed files with 5 additions and 4 deletions
Loading…
Reference in new issue