From aabd7cf8f858cfeffb2b874176f43d23ac702c22 Mon Sep 17 00:00:00 2001 From: "liujisi@google.com" Date: Thu, 17 May 2012 04:59:53 +0000 Subject: Fix a NULL/bool conversion. --- src/google/protobuf/io/coded_stream.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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_); -- cgit v1.2.3