summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio_ext.cpp
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2018-08-02 17:31:13 -0700
committerYi Kong <yikong@google.com>2018-08-02 18:09:44 -0700
commit32bc0fcf69dfccb3726fe572833a38b01179580e (patch)
treeabca656f500087493e0997d5cf38cbcc9ec98eb8 /libc/stdio/stdio_ext.cpp
parent65f82092a17518080178ff7004cc6db362ebfbcd (diff)
Modernize codebase by replacing NULL with nullptr
Fixes -Wzero-as-null-pointer-constant warning. Test: m Bug: 68236239 Change-Id: I5b4123bc6709641315120a191e36cc57541349b2
Diffstat (limited to 'libc/stdio/stdio_ext.cpp')
-rw-r--r--libc/stdio/stdio_ext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/stdio_ext.cpp b/libc/stdio/stdio_ext.cpp
index e17b62a05..945813e10 100644
--- a/libc/stdio/stdio_ext.cpp
+++ b/libc/stdio/stdio_ext.cpp
@@ -69,7 +69,7 @@ size_t __fpending(FILE* fp) {
void _flushlbf() {
// If we flush all streams, we know we've flushed all the line-buffered streams.
- fflush(NULL);
+ fflush(nullptr);
}
void __fseterr(FILE* fp) {