aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/io/coded_stream.cc
diff options
context:
space:
mode:
authorliujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2012-05-17 04:59:53 +0000
committerliujisi@google.com <liujisi@google.com@630680e5-0e50-0410-840e-4b1c322b438d>2012-05-17 04:59:53 +0000
commitaabd7cf8f858cfeffb2b874176f43d23ac702c22 (patch)
treee64804cfc066deefc71bfa510ad9051a54584841 /src/google/protobuf/io/coded_stream.cc
parent20724211247b27e903bd25cdbe4ee4aab81445a8 (diff)
downloadprotobuf-aabd7cf8f858cfeffb2b874176f43d23ac702c22.tar.gz
protobuf-aabd7cf8f858cfeffb2b874176f43d23ac702c22.tar.bz2
protobuf-aabd7cf8f858cfeffb2b874176f43d23ac702c22.zip
Fix a NULL/bool conversion.
Diffstat (limited to 'src/google/protobuf/io/coded_stream.cc')
-rw-r--r--src/google/protobuf/io/coded_stream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/io/coded_stream.cc b/src/google/protobuf/io/coded_stream.cc
index 57d486f9..402a3ad3 100644
--- a/src/google/protobuf/io/coded_stream.cc
+++ b/src/google/protobuf/io/coded_stream.cc
@@ -452,7 +452,7 @@ bool CodedInputStream::ReadVarint64Fallback(uint64* value) {
// We have overrun the maximum size of a varint (10 bytes). The data
// must be corrupt.
- return NULL;
+ return false;
done:
Advance(ptr - buffer_);