summaryrefslogtreecommitdiff
path: root/ext2fs/storeinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext2fs/storeinfo.c')
-rw-r--r--ext2fs/storeinfo.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext2fs/storeinfo.c b/ext2fs/storeinfo.c
index ce7bc534..08b917f3 100644
--- a/ext2fs/storeinfo.c
+++ b/ext2fs/storeinfo.c
@@ -93,8 +93,10 @@ diskfs_S_file_get_storage_info (struct protid *cred,
}
run = runs + num_runs++;
- run->start = block ?: -1; /* -1 means a hole in OFFSETS */
- run->length = 0; /* will get extended just below */
+ /* -1 means a hole in OFFSETS. */
+ run->start = block ?: (store_offset_t) -1;
+ /* The length will get extended just below. */
+ run->length = 0;
}
/* Increase the size of the current run by one filesystem block. */