From 7c14dc837b2fcd61ed244ced90debeb4b42d1119 Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Tue, 15 Sep 2015 18:25:02 -0700 Subject: Down-integrate internal bug fixing changes. --- src/google/protobuf/stubs/int128.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/google/protobuf/stubs/int128.cc') diff --git a/src/google/protobuf/stubs/int128.cc b/src/google/protobuf/stubs/int128.cc index 9f4fb824..d80c64f2 100644 --- a/src/google/protobuf/stubs/int128.cc +++ b/src/google/protobuf/stubs/int128.cc @@ -188,7 +188,8 @@ std::ostream& operator<<(std::ostream& o, const uint128& b) { if ((flags & std::ios::adjustfield) == std::ios::left) { rep.append(width - rep.size(), o.fill()); } else { - rep.insert(0, width - rep.size(), o.fill()); + rep.insert(static_cast(0), + width - rep.size(), o.fill()); } } -- cgit v1.2.3