From 1086900a9ddf31d3f9bd22523f7a72a71fc8dc58 Mon Sep 17 00:00:00 2001 From: Zygo Blaxell Date: Wed, 4 Nov 2020 22:29:29 -0500 Subject: [PATCH] string: second argument to stoull is technically a nullptr This comes up if too many compiler warnings are enabled. Signed-off-by: Zygo Blaxell --- lib/string.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/string.cc b/lib/string.cc index 3285fa1..6fd99b3 100644 --- a/lib/string.cc +++ b/lib/string.cc @@ -16,7 +16,7 @@ namespace crucible { uint64_t from_hex(const string &s) { - return stoull(s, 0, 0); + return stoull(s, nullptr, 0); } vector