aboutsummaryrefslogtreecommitdiff
path: root/common/dct.cpp
diff options
context:
space:
mode:
authorBastien Bouclet2018-04-05 20:25:28 +0200
committerBastien Bouclet2018-05-10 08:35:46 +0200
commit955e18c64874203b6f7156835d7d8458b6fb54de (patch)
tree8a165d5aabdb7acbfabd0ca7286485f3980d4014 /common/dct.cpp
parent82296866b4f79798d1fd5085bfd91fa2fb829d6a (diff)
downloadscummvm-rg350-955e18c64874203b6f7156835d7d8458b6fb54de.tar.gz
scummvm-rg350-955e18c64874203b6f7156835d7d8458b6fb54de.tar.bz2
scummvm-rg350-955e18c64874203b6f7156835d7d8458b6fb54de.zip
COMMON: Use nullptr instead of NULL or 0 where appropriate
Diffstat (limited to 'common/dct.cpp')
-rw-r--r--common/dct.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/dct.cpp b/common/dct.cpp
index 27e0c0bf41..9d551b95ba 100644
--- a/common/dct.cpp
+++ b/common/dct.cpp
@@ -30,7 +30,7 @@
namespace Common {
-DCT::DCT(int bits, TransformType trans) : _bits(bits), _cos(_bits + 2), _trans(trans), _rdft(0) {
+DCT::DCT(int bits, TransformType trans) : _bits(bits), _cos(_bits + 2), _trans(trans), _rdft(nullptr) {
int n = 1 << _bits;
_tCos = _cos.getTable();