diff options
| author | 2016-04-30 18:23:42 +0100 | |
|---|---|---|
| committer | 2016-04-30 18:50:44 +0100 | |
| commit | 505d0768f8392e3c4775425dd97f41e1c829ef44 (patch) | |
| tree | 55dfa35f2e180b4186baf00ffbfd2ee38c0f1c18 /src/modules/sharedfile | |
| parent | Update my clang-format to 3.8.0 (diff) | |
| download | KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.gz KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.tar.bz2 KVIrc-505d0768f8392e3c4775425dd97f41e1c829ef44.zip | |
Apply clang-tidy: modernize-use-nullptr
Diffstat (limited to 'src/modules/sharedfile')
| -rw-r--r-- | src/modules/sharedfile/libkvisharedfile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sharedfile/libkvisharedfile.cpp b/src/modules/sharedfile/libkvisharedfile.cpp index ba60faf9a..199c25fce 100644 --- a/src/modules/sharedfile/libkvisharedfile.cpp +++ b/src/modules/sharedfile/libkvisharedfile.cpp @@ -221,7 +221,7 @@ static bool sharedfile_kvs_cmd_list(KviKvsModuleCommandCall * c) o->userMask().toUtf8().data()); if(o->expireTime() > 0) { - int secs = ((int)(o->expireTime())) - ((int)(time(0))); + int secs = ((int)(o->expireTime())) - ((int)(time(nullptr))); int hour = secs / 3600; secs = secs % 3600; int mins = secs / 60; |
