aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/file/libkvifile.cpp
diff options
context:
space:
mode:
authorGravatar IceN9ne2018-12-03 20:26:31 -0500
committerGravatar IceN9ne2018-12-03 20:26:31 -0500
commit3820267cf16d09b7e8e2d7a8f30b7a340f300934 (patch)
tree0b8c79a7135d8190bfdb75892c876cfba77c1444 /src/modules/file/libkvifile.cpp
parentRemove reliance Q_DISABLE_COPY macro (diff)
downloadKVIrc-3820267cf16d09b7e8e2d7a8f30b7a340f300934.tar.gz
KVIrc-3820267cf16d09b7e8e2d7a8f30b7a340f300934.tar.bz2
KVIrc-3820267cf16d09b7e8e2d7a8f30b7a340f300934.zip
Convert 0s and NULLs to nullptr
Diffstat (limited to 'src/modules/file/libkvifile.cpp')
-rw-r--r--src/modules/file/libkvifile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/file/libkvifile.cpp b/src/modules/file/libkvifile.cpp
index 9025ad33d..2ff800b5f 100644
--- a/src/modules/file/libkvifile.cpp
+++ b/src/modules/file/libkvifile.cpp
@@ -1489,7 +1489,7 @@ static bool file_kvs_fnc_diskSpace(KviKvsModuleFunctionCall * c)
// this for win
#if defined(COMPILE_ON_WINDOWS) || defined(COMPILE_ON_MINGW)
ULARGE_INTEGER free, total;
- if (GetDiskFreeSpaceEx(szPath.toStdWString().c_str(), NULL, &total, &free) == 0) {
+ if (GetDiskFreeSpaceEx(szPath.toStdWString().c_str(), nullptr, &total, &free) == 0) {
c->warning(__tr2qs("An error occurred retrieving the amount of free space in '%Q'"), &szPath);
return true;
}