diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-11-27 11:19:11 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-12-01 09:45:00 +0300 |
commit | e32bbbf4d7adfdb22822c39991ea0e972a0a3453 (patch) | |
tree | f2da83e4c0047e757c52cfc5de1f0c49fce922fb /src/node_url.cc | |
parent | 85e34b0c73794d3a241aa9e0c6139292f445c30a (diff) |
src: use nullptr instead of NULL
PR-URL: https://github.com/nodejs/node/pull/17373
Reviewed-By: Jon Moss <me@jonathanmoss.me>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'src/node_url.cc')
-rw-r--r-- | src/node_url.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_url.cc b/src/node_url.cc index c9c8ccd5797..e1ef9273ae9 100644 --- a/src/node_url.cc +++ b/src/node_url.cc @@ -752,7 +752,7 @@ static inline int64_t ParseNumber(const char* start, const char* end) { } p++; } - return strtoll(start, NULL, R); + return strtoll(start, nullptr, R); } static url_host_type ParseIPv4Host(url_host* host, |