summaryrefslogtreecommitdiffstats
path: root/compiler/vector_output_stream.h
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/vector_output_stream.h')
-rw-r--r--compiler/vector_output_stream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/vector_output_stream.h b/compiler/vector_output_stream.h
index a3f82262af..09daa12e02 100644
--- a/compiler/vector_output_stream.h
+++ b/compiler/vector_output_stream.h
@@ -31,7 +31,7 @@ class VectorOutputStream : public OutputStream {
virtual ~VectorOutputStream() {}
- bool WriteFully(const void* buffer, int64_t byte_count) {
+ bool WriteFully(const void* buffer, size_t byte_count) {
if (static_cast<size_t>(offset_) == vector_.size()) {
const uint8_t* start = reinterpret_cast<const uint8_t*>(buffer);
vector_.insert(vector_.end(), &start[0], &start[byte_count]);