Skip to content

Commit

Permalink
stagingtool: Fixed x86 build
Browse files Browse the repository at this point in the history
  • Loading branch information
CromFr committed Mar 11, 2020
1 parent 4d7496b commit 994a896
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stagingtool/source/app.d
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ struct Resource{
{
auto file = File(resFile);
resHash = digest!SHA1(file.byChunk(4096 * 1024)).toHexString();
resSize = file.size();
resSize = file.size().to!size_t;
}

auto dlFilePath = buildPathCI(outputDir, name~".lzma");
Expand All @@ -296,7 +296,7 @@ struct Resource{
{
auto file = File(dlFilePath);
dlHash = digest!SHA1(file.byChunk(4096 * 1024)).toHexString();
dlSize = file.size();
dlSize = file.size().to!size_t;
}
}

Expand Down

0 comments on commit 994a896

Please sign in to comment.