Skip to content

Commit

Permalink
Merge pull request protocolbuffers#468 from AustinSchuh/unsigned_proto
Browse files Browse the repository at this point in the history
Marked another compiler literal unsigned.
  • Loading branch information
xfxyjwf committed Jun 6, 2015
2 parents f51f1b7 + 307af62 commit b9baa47
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/cpp/cpp_message.cc
Original file line number Diff line number Diff line change
Expand Up @@ -3510,7 +3510,7 @@ GenerateByteSize(io::Printer* printer) {
} else {
if (HasFieldPresence(descriptor_->file())) {
printer->Print(
"if (_has_bits_[$index$ / 32] & $mask$) {\n",
"if (_has_bits_[$index$ / 32] & $mask$u) {\n",
"index", SimpleItoa(i),
"mask", SimpleItoa(mask));
printer->Indent();
Expand Down
2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/plugin.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

34 changes: 17 additions & 17 deletions src/google/protobuf/descriptor.pb.cc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b9baa47

Please sign in to comment.