Fix a NULL/bool conversion.

pull/3335/head
liujisi@google.com 13 years ago
parent 2072421124
commit aabd7cf8f8
  1. 2
      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_);

Loading…
Cancel
Save