about summary refs log tree commit diff
path: root/tvix/nar-bridge/pkg/importer/importer.go
diff options
context:
space:
mode:
Diffstat (limited to 'tvix/nar-bridge/pkg/importer/importer.go')
-rw-r--r--tvix/nar-bridge/pkg/importer/importer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/nar-bridge/pkg/importer/importer.go b/tvix/nar-bridge/pkg/importer/importer.go
index a5c6bbaae901..679fc9b8ab14 100644
--- a/tvix/nar-bridge/pkg/importer/importer.go
+++ b/tvix/nar-bridge/pkg/importer/importer.go
@@ -210,7 +210,7 @@ func Import(
 				fileNode := &castorev1pb.FileNode{
 					Name:       []byte(getBasename(hdr.Path)),
 					Digest:     blobDigest,
-					Size:       uint32(hdr.Size),
+					Size:       uint64(hdr.Size),
 					Executable: hdr.Executable,
 				}
 				if len(stack) > 0 {