summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/315-5881_crypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/315-5881_crypt.cpp')
-rw-r--r--src/mame/machine/315-5881_crypt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/315-5881_crypt.cpp b/src/mame/machine/315-5881_crypt.cpp
index ec07d1c8380..96f654a44e1 100644
--- a/src/mame/machine/315-5881_crypt.cpp
+++ b/src/mame/machine/315-5881_crypt.cpp
@@ -49,7 +49,7 @@ void sega_315_5881_crypt_device::device_start()
std::string skey = parameter("key");
if(!skey.empty())
- key = strtoll(skey.c_str(), 0, 16);
+ key = strtoll(skey.c_str(), nullptr, 16);
else
{
logerror("%s: Warning: key not provided\n", tag());