aboutsummaryrefslogtreecommitdiff
path: root/weed/replication/sink/gcssink/gcs_sink.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/replication/sink/gcssink/gcs_sink.go')
-rw-r--r--weed/replication/sink/gcssink/gcs_sink.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/replication/sink/gcssink/gcs_sink.go b/weed/replication/sink/gcssink/gcs_sink.go
index 694399274..b1a8d7753 100644
--- a/weed/replication/sink/gcssink/gcs_sink.go
+++ b/weed/replication/sink/gcssink/gcs_sink.go
@@ -90,7 +90,7 @@ func (g *GcsSink) CreateEntry(key string, entry *filer_pb.Entry) error {
}
totalSize := filer2.TotalSize(entry.Chunks)
- chunkViews := filer2.ViewFromChunks(entry.Chunks, 0, int(totalSize))
+ chunkViews := filer2.ViewFromChunks(entry.Chunks, 0, int64(totalSize))
wc := g.client.Bucket(g.bucket).Object(key).NewWriter(context.Background())