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 7d123caa0..ce5550520 100644 --- a/src/common/platform.h +++ b/src/common/platform.h | |||
| @@ -80,7 +80,7 @@ | |||
| 80 | inline struct tm* localtime_r(const time_t *clock, struct tm *result) { | 80 | inline struct tm* localtime_r(const time_t *clock, struct tm *result) { |
| 81 | if (localtime_s(result, clock) == 0) | 81 | if (localtime_s(result, clock) == 0) |
| 82 | return result; | 82 | return result; |
| 83 | return NULL; | 83 | return nullptr; |
| 84 | } | 84 | } |
| 85 | #endif | 85 | #endif |
| 86 | 86 | ||