summaryrefslogtreecommitdiff
path: root/gbl/libgbl/src/fastboot/vars.rs
diff options
context:
space:
mode:
Diffstat (limited to 'gbl/libgbl/src/fastboot/vars.rs')
-rw-r--r--gbl/libgbl/src/fastboot/vars.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbl/libgbl/src/fastboot/vars.rs b/gbl/libgbl/src/fastboot/vars.rs
index 39dcb12..521205a 100644
--- a/gbl/libgbl/src/fastboot/vars.rs
+++ b/gbl/libgbl/src/fastboot/vars.rs
@@ -104,7 +104,7 @@ impl Variable for Partition {
let id = snprintf!(id_str, "{:x}", id);
res = (|| {
for ptn in v.partition_iter() {
- let sz = ptn.size()?;
+ let sz: u64 = ptn.size()?;
let part = ptn.gpt_entry().name_to_str(part_name)?;
f(PARTITION_SIZE, &[part, id], snprintf!(size_str, "{:#x}", sz))?;
// Image type is not supported yet.