Skip to content

Commit

Permalink
Merge pull request #665 from cheng-chang:coding
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 243316002
  • Loading branch information
cmumford committed Apr 12, 2019
2 parents 7da571c + cf1b5f4 commit ffabb1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/coding.cc
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ char* EncodeVarint64(char* dst, uint64_t v) {
static const int B = 128;
unsigned char* ptr = reinterpret_cast<unsigned char*>(dst);
while (v >= B) {
*(ptr++) = (v & (B-1)) | B;
*(ptr++) = v | B;
v >>= 7;
}
*(ptr++) = static_cast<unsigned char>(v);
Expand Down

0 comments on commit ffabb1a

Please sign in to comment.