about summary refs log tree commit diff
path: root/tvix
diff options
context:
space:
mode:
Diffstat (limited to 'tvix')
-rw-r--r--tvix/castore/src/fs/mod.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tvix/castore/src/fs/mod.rs b/tvix/castore/src/fs/mod.rs
index b714bad1e868..0da811528172 100644
--- a/tvix/castore/src/fs/mod.rs
+++ b/tvix/castore/src/fs/mod.rs
@@ -480,7 +480,7 @@ where
 
                 let written = add_entry(fuse_backend_rs::api::filesystem::DirEntry {
                     ino,
-                    offset: offset + i as u64 + 1,
+                    offset: offset + (i as u64) + 1,
                     type_: inode_data.as_fuse_type(),
                     name: &name,
                 })?;
@@ -502,7 +502,7 @@ where
             // the second parameter will become the "offset" parameter on the next call.
             let written = add_entry(fuse_backend_rs::api::filesystem::DirEntry {
                 ino,
-                offset: offset + i as u64 + 1,
+                offset: offset + (i as u64) + 1,
                 type_: inode_data.as_fuse_type(),
                 name: &name,
             })?;
@@ -568,7 +568,7 @@ where
                 let written = add_entry(
                     fuse_backend_rs::api::filesystem::DirEntry {
                         ino,
-                        offset: offset + i as u64 + 1,
+                        offset: offset + (i as u64) + 1,
                         type_: inode_data.as_fuse_type(),
                         name: &name,
                     },
@@ -593,7 +593,7 @@ where
             let written = add_entry(
                 fuse_backend_rs::api::filesystem::DirEntry {
                     ino,
-                    offset: offset + i as u64 + 1,
+                    offset: offset + (i as u64) + 1,
                     type_: inode_data.as_fuse_type(),
                     name: &name,
                 },