mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-07 01:32:26 +01:00
57 lines
2.2 KiB
Diff
57 lines
2.2 KiB
Diff
diff --git a/c++/src/io/InputStream.cc b/c++/src/io/InputStream.cc
|
|
index 06ef40bd4..5e1dc00cc 100644
|
|
--- a/c++/src/io/InputStream.cc
|
|
+++ b/c++/src/io/InputStream.cc
|
|
@@ -112,8 +112,8 @@ namespace orc {
|
|
return false;
|
|
}
|
|
|
|
- google::protobuf::int64 SeekableArrayInputStream::ByteCount() const {
|
|
- return static_cast<google::protobuf::int64>(position_);
|
|
+ int64_t SeekableArrayInputStream::ByteCount() const {
|
|
+ return static_cast<int64_t>(position_);
|
|
}
|
|
|
|
void SeekableArrayInputStream::seek(PositionProvider& seekPosition) {
|
|
diff --git a/c++/src/io/InputStream.hh b/c++/src/io/InputStream.hh
|
|
index 07aa623b5..8b251c930 100644
|
|
--- a/c++/src/io/InputStream.hh
|
|
+++ b/c++/src/io/InputStream.hh
|
|
@@ -72,7 +72,7 @@ namespace orc {
|
|
virtual bool Next(const void** data, int* size) override;
|
|
virtual void BackUp(int count) override;
|
|
virtual bool Skip(int count) override;
|
|
- virtual google::protobuf::int64 ByteCount() const override;
|
|
+ virtual int64_t ByteCount() const override;
|
|
virtual void seek(PositionProvider& position) override;
|
|
virtual std::string getName() const override;
|
|
};
|
|
diff --git a/c++/src/io/OutputStream.cc b/c++/src/io/OutputStream.cc
|
|
index fbf1ca61d..a55050d12 100644
|
|
--- a/c++/src/io/OutputStream.cc
|
|
+++ b/c++/src/io/OutputStream.cc
|
|
@@ -65,8 +65,8 @@ namespace orc {
|
|
// PASS
|
|
}
|
|
|
|
- google::protobuf::int64 BufferedOutputStream::ByteCount() const {
|
|
- return static_cast<google::protobuf::int64>(dataBuffer_->size());
|
|
+ int64_t BufferedOutputStream::ByteCount() const {
|
|
+ return static_cast<int64_t>(dataBuffer_->size());
|
|
}
|
|
|
|
bool BufferedOutputStream::WriteAliasedRaw(const void*, int) {
|
|
diff --git a/c++/src/io/OutputStream.hh b/c++/src/io/OutputStream.hh
|
|
index 6319de96d..b02981812 100644
|
|
--- a/c++/src/io/OutputStream.hh
|
|
+++ b/c++/src/io/OutputStream.hh
|
|
@@ -61,7 +61,7 @@ namespace orc {
|
|
|
|
virtual bool Next(void** data, int* size) override;
|
|
virtual void BackUp(int count) override;
|
|
- virtual google::protobuf::int64 ByteCount() const override;
|
|
+ virtual int64_t ByteCount() const override;
|
|
virtual bool WriteAliasedRaw(const void* data, int size) override;
|
|
virtual bool AllowsAliasing() const override;
|
|
|