diff options
Diffstat (limited to '')
-rw-r--r-- | vendor/gix-object/src/blob.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/gix-object/src/blob.rs b/vendor/gix-object/src/blob.rs index d0a42092c..57db54758 100644 --- a/vendor/gix-object/src/blob.rs +++ b/vendor/gix-object/src/blob.rs @@ -12,8 +12,8 @@ impl<'a> crate::WriteTo for BlobRef<'a> { Kind::Blob } - fn size(&self) -> usize { - self.data.len() + fn size(&self) -> u64 { + self.data.len() as u64 } } @@ -27,7 +27,7 @@ impl crate::WriteTo for Blob { Kind::Blob } - fn size(&self) -> usize { + fn size(&self) -> u64 { self.to_ref().size() } } |