From e4125f5739791032d822557511011a34f2f3edc3 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 13 May 2019 18:15:10 -0700 Subject: remove no-longer-necessary cast --- rust/src/entity_crud.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/src/entity_crud.rs b/rust/src/entity_crud.rs index b111ec53..af496ad9 100644 --- a/rust/src/entity_crud.rs +++ b/rust/src/entity_crud.rs @@ -1069,7 +1069,7 @@ impl EntityCrud for FileEntity { sha1: rev_row.sha1, sha256: rev_row.sha256, md5: rev_row.md5, - size: rev_row.size_bytes.map(|v| v as i64), + size: rev_row.size_bytes, urls: Some(urls), mimetype: rev_row.mimetype, release_ids: Some(release_ids.iter().map(|fcid| fcid.to_string()).collect()), -- cgit v1.2.3