Index: third_party/protobuf/src/google/protobuf/stubs/int128.cc |
diff --git a/third_party/protobuf/src/google/protobuf/stubs/int128.cc b/third_party/protobuf/src/google/protobuf/stubs/int128.cc |
index a50908014800902db399290e531d5777a7b40346..3a36b4b101c1008afe4eda3687faac93b6fa79ca 100644 |
--- a/third_party/protobuf/src/google/protobuf/stubs/int128.cc |
+++ b/third_party/protobuf/src/google/protobuf/stubs/int128.cc |
@@ -145,15 +145,15 @@ std::ostream& operator<<(std::ostream& o, const uint128& b) { |
std::streamsize div_base_log; |
switch (flags & std::ios::basefield) { |
case std::ios::hex: |
- div = static_cast<uint64>(GOOGLE_ULONGLONG(0x1000000000000000)); // 16^15 |
+ div = GOOGLE_ULONGLONG(0x1000000000000000); // 16^15 |
div_base_log = 15; |
break; |
case std::ios::oct: |
- div = static_cast<uint64>(GOOGLE_ULONGLONG(01000000000000000000000)); // 8^21 |
+ div = GOOGLE_ULONGLONG(01000000000000000000000); // 8^21 |
div_base_log = 21; |
break; |
default: // std::ios::dec |
- div = static_cast<uint64>(GOOGLE_ULONGLONG(10000000000000000000)); // 10^19 |
+ div = GOOGLE_ULONGLONG(10000000000000000000); // 10^19 |
div_base_log = 19; |
break; |
} |