summaryrefslogtreecommitdiff
path: root/src/node_buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_buffer.cc')
-rw-r--r--src/node_buffer.cc2
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) {