Skip to content

Commit 66f0caa

Browse files
seelabsmiguelportilla
authored andcommitted
Use protobuf int64 type
1 parent d88b63d commit 66f0caa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/ripple/overlay/impl/ZeroCopyStream.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class ZeroCopyInputStream
3838
using iterator = typename Buffers::const_iterator;
3939
using const_buffer = boost::asio::const_buffer;
4040

41-
std::int64_t count_ = 0;
41+
google::protobuf::int64 count_ = 0;
4242
iterator last_;
4343
iterator first_; // Where pos_ comes from
4444
const_buffer pos_; // What Next() will return
@@ -56,7 +56,7 @@ class ZeroCopyInputStream
5656
bool
5757
Skip (int count) override;
5858

59-
std::int64_t
59+
google::protobuf::int64
6060
ByteCount() const override
6161
{
6262
return count_;
@@ -142,7 +142,7 @@ class ZeroCopyOutputStream
142142

143143
Streambuf& streambuf_;
144144
std::size_t blockSize_;
145-
std::size_t count_ = 0;
145+
google::protobuf::int64 count_ = 0;
146146
std::size_t commit_ = 0;
147147
buffers_type buffers_;
148148
iterator pos_;
@@ -160,7 +160,7 @@ class ZeroCopyOutputStream
160160
void
161161
BackUp (int count) override;
162162

163-
std::int64_t
163+
google::protobuf::int64
164164
ByteCount() const override
165165
{
166166
return count_;

0 commit comments

Comments
 (0)