summaryrefslogtreecommitdiff
path: root/tools/aapt2/compile/Compile.cpp
diff options
context:
space:
mode:
authorTamas Berghammer <tberghammer@google.com>2016-06-22 15:21:38 +0100
committerTamas Berghammer <tberghammer@google.com>2016-11-08 14:06:09 +0000
commit383db5ebcc3a4a615faf249bf4f126f42e80b82e (patch)
tree75bf14fb2ad46cc7f0cdb8c9c008d1f8c37fa519 /tools/aapt2/compile/Compile.cpp
parente7f6ca32de6eebfed88e31156f2e264dc72fc3f1 (diff)
Update package names to work with the proto3 compiler
Bug: b/28974522 Change-Id: I5f3adf4946ee4ba1e09e4f40afe83c151405972a
Diffstat (limited to 'tools/aapt2/compile/Compile.cpp')
-rw-r--r--tools/aapt2/compile/Compile.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/aapt2/compile/Compile.cpp b/tools/aapt2/compile/Compile.cpp
index a06140cff542..f0b18e65cc1a 100644
--- a/tools/aapt2/compile/Compile.cpp
+++ b/tools/aapt2/compile/Compile.cpp
@@ -482,7 +482,9 @@ class BigBufferOutputStream : public io::OutputStream {
void BackUp(int count) override { buffer_->BackUp(count); }
- int64_t ByteCount() const override { return buffer_->size(); }
+ google::protobuf::int64 ByteCount() const override {
+ return buffer_->size();
+ }
bool HadError() const override { return false; }