summaryrefslogtreecommitdiffstats
path: root/src/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/debug.h')
-rw-r--r--src/debug.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug.h b/src/debug.h
index 9214083..4725486 100644
--- a/src/debug.h
+++ b/src/debug.h
@@ -164,7 +164,7 @@ namespace Debug
Block( const char *label )
: m_label( label )
{
- gettimeofday( &m_start, 0 );
+ gettimeofday( &m_start, nullptr );
kdDebug() << indent() << "BEGIN: " << label << "\n";
DEBUG_INDENT
@@ -173,7 +173,7 @@ namespace Debug
~Block()
{
timeval end;
- gettimeofday( &end, 0 );
+ gettimeofday( &end, nullptr );
end.tv_sec -= m_start.tv_sec;
if( end.tv_usec < m_start.tv_usec) {