aboutsummaryrefslogtreecommitdiff
path: root/objectivec/GPBDescriptor.m
diff options
context:
space:
mode:
authorAustin Schuh <austin@peloton-tech.com>2015-06-05 22:46:01 -0700
committerAustin Schuh <austin@peloton-tech.com>2015-06-05 22:46:01 -0700
commit307af628e646cd67e659f327e549542c0f5e31b7 (patch)
treefba88b384ea6c70fd46edccd412e81e81430a77d /objectivec/GPBDescriptor.m
parent68975a4e5071c5159258770edceec925e73ca2de (diff)
downloadprotobuf-307af628e646cd67e659f327e549542c0f5e31b7.tar.gz
protobuf-307af628e646cd67e659f327e549542c0f5e31b7.tar.bz2
protobuf-307af628e646cd67e659f327e549542c0f5e31b7.zip
Marked another compiler literal unsigned.
When compiling a protobuf with gcc 4.1.2 for powerpc, I ran into another of the following warning message: INFO: From Compiling my_proto.pb.cc powerpc-603e-linux-gcc: bazel-out/local_linux-dbg/genfiles/my_proto.pb.cc: In member function `virtual void MyProto::Clear()': bazel-out/local_linux-dbg/genfiles/my_proto.pb.cc:223: warning: this decimal constant is unsigned only in ISO C90 The line in the proto file that was triggering it was: if (_has_bits_[24 / 32] & 4278190080) { ZR_(field1_, field2_); } _has_bits_ is a uint32. The constant mask should therefore be unsigned. This change updates the constant to be generated as unsigned.
Diffstat (limited to 'objectivec/GPBDescriptor.m')
0 files changed, 0 insertions, 0 deletions