diff options
Diffstat (limited to 'src/common/platform.h')
| -rw-r--r-- | src/common/platform.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/platform.h b/src/common/platform.h index d9f095433..53d98fe74 100644 --- a/src/common/platform.h +++ b/src/common/platform.h | |||
| @@ -77,7 +77,7 @@ | |||
| 77 | inline struct tm* localtime_r(const time_t *clock, struct tm *result) { | 77 | inline struct tm* localtime_r(const time_t *clock, struct tm *result) { |
| 78 | if (localtime_s(result, clock) == 0) | 78 | if (localtime_s(result, clock) == 0) |
| 79 | return result; | 79 | return result; |
| 80 | return NULL; | 80 | return nullptr; |
| 81 | } | 81 | } |
| 82 | 82 | ||
| 83 | #else | 83 | #else |