diff options
author | randomguy3 <dev@randomguy3.me.uk> | 2017-05-06 09:08:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-06 09:08:44 +0100 |
commit | e062f70c6d2e981686caa39e44701f7aaa6c66ed (patch) | |
tree | b22508fe6dc4dab4f3c0c1e4c84793b8c53a597d /src | |
parent | e82d81a8843c1aa99b3d33f5478ac3b8ad127982 (diff) | |
download | protobuf-e062f70c6d2e981686caa39e44701f7aaa6c66ed.tar.gz protobuf-e062f70c6d2e981686caa39e44701f7aaa6c66ed.tar.bz2 protobuf-e062f70c6d2e981686caa39e44701f7aaa6c66ed.zip |
Fix compilation
<: is a digraph, so a space is necessary for compilation on certain compilers.
Diffstat (limited to 'src')
-rw-r--r-- | src/google/protobuf/generated_message_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/google/protobuf/generated_message_util.h b/src/google/protobuf/generated_message_util.h index 299d95b6..b9654ece 100644 --- a/src/google/protobuf/generated_message_util.h +++ b/src/google/protobuf/generated_message_util.h @@ -100,7 +100,7 @@ namespace internal { // choose 16 rather than some other number just in case the compiler would // be confused by an unaligned pointer. #define GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(TYPE, FIELD) \ - static_cast<::google::protobuf::uint32>( \ + static_cast< ::google::protobuf::uint32>( \ reinterpret_cast<const char*>( \ &reinterpret_cast<const TYPE*>(16)->FIELD) - \ reinterpret_cast<const char*>(16)) |