diff options
Diffstat (limited to 'engines/gargoyle/conf.cpp')
| -rw-r--r-- | engines/gargoyle/conf.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/gargoyle/conf.cpp b/engines/gargoyle/conf.cpp index a684889a7b..3902db3c42 100644 --- a/engines/gargoyle/conf.cpp +++ b/engines/gargoyle/conf.cpp @@ -237,9 +237,9 @@ void Conf::parseColor(const Common::String &str, byte *color) { g[0] = str[2]; g[1] = str[3]; g[2] = 0; b[0] = str[4]; b[1] = str[5]; b[2] = 0; - color[0] = strtol(r, NULL, 16); - color[1] = strtol(g, NULL, 16); - color[2] = strtol(b, NULL, 16); + color[0] = strtol(r, nullptr, 16); + color[1] = strtol(g, nullptr, 16); + color[2] = strtol(b, nullptr, 16); } } |
