summaryrefslogtreecommitdiff
path: root/plugins/Db3x_mmap/src/dbtool/initialchecks.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-08-22 15:23:04 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-08-22 15:23:04 +0300
commit92fec1aa22df4c4f1213d33663637c00b753f451 (patch)
treecc80e435a189a5d4766bdffd08f9997e7fff51b9 /plugins/Db3x_mmap/src/dbtool/initialchecks.cpp
parent94dde7112f11c5963aa620c692170d02fe65a2a7 (diff)
code cleaning
Diffstat (limited to 'plugins/Db3x_mmap/src/dbtool/initialchecks.cpp')
-rw-r--r--plugins/Db3x_mmap/src/dbtool/initialchecks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Db3x_mmap/src/dbtool/initialchecks.cpp b/plugins/Db3x_mmap/src/dbtool/initialchecks.cpp
index 07505eb2ab..45c8120442 100644
--- a/plugins/Db3x_mmap/src/dbtool/initialchecks.cpp
+++ b/plugins/Db3x_mmap/src/dbtool/initialchecks.cpp
@@ -47,7 +47,7 @@ int CDb3Mmap::WorkInitialCheckHeaders()
int CDb3Mmap::WorkInitialChecks(int)
{
- sourceFileSize = GetFileSize(m_hDbFile, NULL);
+ sourceFileSize = GetFileSize(m_hDbFile, nullptr);
if (sourceFileSize == 0) {
cb->pfnAddLogMessage(STATUS_WARNING, TranslateT("Database is newly created and has no data to process"));
cb->pfnAddLogMessage(STATUS_SUCCESS, TranslateT("Processing completed successfully"));