Skip to content

Commit

Permalink
fix raw_ptr.cc on exotic architectures
Browse files Browse the repository at this point in the history
  • Loading branch information
jagub2 committed Sep 9, 2024
1 parent 9efb606 commit 4958e0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/raw_ptr.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ namespace protobuf {
namespace internal {

ABSL_CONST_INIT PROTOBUF_EXPORT
ABSL_CACHELINE_ALIGNED const char kZeroBuffer[ABSL_CACHELINE_SIZE] = {};
ABSL_CACHELINE_ALIGNED const char kZeroBuffer[std::max(ABSL_CACHELINE_SIZE, 64)] = {};

} // namespace internal
} // namespace protobuf
Expand Down

0 comments on commit 4958e0f

Please sign in to comment.