aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/lib/strings/stringprintf.cc
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2017-05-30 08:47:25 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-05-30 08:50:43 -0700
commitd83074847ebfe8871188f1f9f1e84ab0451f59e6 (patch)
treedbe0bd71cb9b8934889df83f221cef83f494a28e /tensorflow/core/lib/strings/stringprintf.cc
parentb73fea6e27b17dc4349754e585113e7a8138339e (diff)
Use "nullptr" for null pointer values
PiperOrigin-RevId: 157468186
Diffstat (limited to 'tensorflow/core/lib/strings/stringprintf.cc')
-rw-r--r--tensorflow/core/lib/strings/stringprintf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/lib/strings/stringprintf.cc b/tensorflow/core/lib/strings/stringprintf.cc
index 855734fc14..03eba4c851 100644
--- a/tensorflow/core/lib/strings/stringprintf.cc
+++ b/tensorflow/core/lib/strings/stringprintf.cc
@@ -52,7 +52,7 @@ void Appendv(string* dst, const char* format, va_list ap) {
// Error or MSVC running out of space. MSVC 8.0 and higher
// can be asked about space needed with the special idiom below:
va_copy(backup_ap, ap);
- result = vsnprintf(NULL, 0, format, backup_ap);
+ result = vsnprintf(nullptr, 0, format, backup_ap);
va_end(backup_ap);
}