summaryrefslogtreecommitdiffstats
path: root/src/btop_draw.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/btop_draw.cpp')
-rw-r--r--src/btop_draw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/btop_draw.cpp b/src/btop_draw.cpp
index 44e8aa2..c39e654 100644
--- a/src/btop_draw.cpp
+++ b/src/btop_draw.cpp
@@ -293,7 +293,7 @@ namespace Draw {
static size_t clock_len{}; // defaults to 0
static string clock_str;
- if (auto n_time = time(NULL); not force and n_time == c_time)
+ if (auto n_time = time(nullptr); not force and n_time == c_time)
return false;
else {
c_time = n_time;