string: second argument to stoull is technically a nullptr

This comes up if too many compiler warnings are enabled.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2020-12-17 17:54:51 -05:00
Ursprung 97c167d63a
Commit 1086900a9d
+1 -1
Datei anzeigen
@@ -16,7 +16,7 @@ namespace crucible {
uint64_t uint64_t
from_hex(const string &s) from_hex(const string &s)
{ {
return stoull(s, 0, 0); return stoull(s, nullptr, 0);
} }
vector<string> vector<string>