diff --git a/vs2010/port/gettimeofday.cpp b/vs2010/port/gettimeofday.cpp index b785245363..664ea7304d 100644 --- a/vs2010/port/gettimeofday.cpp +++ b/vs2010/port/gettimeofday.cpp @@ -22,7 +22,7 @@ int gettimeofday(struct timeval *tp, struct timezone *tzp) { l_int32 sec, usec; - if (tp == NULL) + if (tp == nullptr) return -1; l_getCurrentTime(&sec, &usec);