diff options
| author | XhmikosR <xhmikosr@gmail.com> | 2018-07-09 18:01:13 +0300 |
|---|---|---|
| committer | Anna Henningsen <anna@addaleax.net> | 2018-07-14 11:57:59 +0200 |
| commit | 998f9ffd429e10b712b06ea57e598d4b1a55fe64 (patch) | |
| tree | 9711fb897982dce076fc67b36d2ed6c23d9e6391 /src/node_buffer.cc | |
| parent | 1062ea4555e21e7e24bb01a04840843979b7df45 (diff) | |
| download | node-new-998f9ffd429e10b712b06ea57e598d4b1a55fe64.tar.gz | |
src,tools: use https://nodejs.org URL when possible.
PR-URL: https://github.com/nodejs/node/pull/21719
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Сковорода Никита Андреевич <chalkerx@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Diffstat (limited to 'src/node_buffer.cc')
| -rw-r--r-- | src/node_buffer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_buffer.cc b/src/node_buffer.cc index 9eb351b443..6e25889d6e 100644 --- a/src/node_buffer.cc +++ b/src/node_buffer.cc @@ -483,7 +483,7 @@ void StringSlice<UCS2>(const FunctionCallbackInfo<Value>& args) { bool release = false; // Node's "ucs2" encoding expects LE character data inside a Buffer, so we - // need to reorder on BE platforms. See http://nodejs.org/api/buffer.html + // need to reorder on BE platforms. See https://nodejs.org/api/buffer.html // regarding Node's "ucs2" encoding specification. const bool aligned = (reinterpret_cast<uintptr_t>(data) % sizeof(*buf) == 0); if (IsLittleEndian() && !aligned) { |
