aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/strings/numbers.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/core/lib/strings/numbers.cc')
-rw-r--r--tensorflow/core/lib/strings/numbers.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/lib/strings/numbers.cc b/tensorflow/core/lib/strings/numbers.cc
index fc07bd446c..0dea0f89f9 100644
--- a/tensorflow/core/lib/strings/numbers.cc
+++ b/tensorflow/core/lib/strings/numbers.cc
@@ -166,7 +166,7 @@ char* DoubleToBuffer(double value, char* buffer) {
DCHECK(snprintf_result > 0 && snprintf_result < kFastToBufferSize);
full_precision_needed =
- locale_independent_strtonum<double>(buffer, NULL) != value;
+ locale_independent_strtonum<double>(buffer, nullptr) != value;
}
if (full_precision_needed) {