Commit 64dfb5f8 authored by topillar's avatar topillar

Update coded_stream.h

fix warning treated as error prevents building on 64-bit windows.
parent 698fa8ee
......@@ -1136,7 +1136,7 @@ inline void CodedOutputStream::WriteVarint32(uint32 value) {
// this write won't cross the end, so we can skip the checks.
uint8* target = buffer_;
uint8* end = WriteVarint32ToArray(value, target);
int size = end - target;
int size = static_cast<int>(end - target);
Advance(size);
} else {
WriteVarint32SlowPath(value);
......
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