diff options
Diffstat (limited to 'libc/src/stdlib/strtod.cpp')
| -rw-r--r-- | libc/src/stdlib/strtod.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/src/stdlib/strtod.cpp b/libc/src/stdlib/strtod.cpp index db5e0edefb5b..461f7feb5bf6 100644 --- a/libc/src/stdlib/strtod.cpp +++ b/libc/src/stdlib/strtod.cpp @@ -19,7 +19,7 @@ LLVM_LIBC_FUNCTION(double, strtod, if (result.has_error()) libc_errno = result.error; - if (str_end != NULL) + if (str_end != nullptr) *str_end = const_cast<char *>(str + result.parsed_len); return result.value; |
