Commit 66a148c4 authored by thakis@chromium.org's avatar thakis@chromium.org

protobuf: Fix a null/bool conversion.

BUG=none
TEST=none
TBR=agl

Review URL: https://chromiumcodereview.appspot.com/10386158

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137666 0039d316-1c4b-4281-b951-d872f2087c98
parent 13021a6b
...@@ -452,7 +452,7 @@ bool CodedInputStream::ReadVarint64Fallback(uint64* value) { ...@@ -452,7 +452,7 @@ bool CodedInputStream::ReadVarint64Fallback(uint64* value) {
// We have overrun the maximum size of a varint (10 bytes). The data // We have overrun the maximum size of a varint (10 bytes). The data
// must be corrupt. // must be corrupt.
return NULL; return false;
done: done:
Advance(ptr - buffer_); Advance(ptr - buffer_);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment