Merge pull request #1 from BBasile/master

fix, array length has to be of type size_t
This commit is contained in:
Brian Schott 2015-01-13 22:03:19 +00:00
commit 39fadba85c
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ int main(string[] args)
else
{
File f = File(args[1]);
buffer = new ubyte[](f.size);
buffer = new ubyte[](cast(size_t)f.size);
f.rawRead(buffer);
if (inplace)
output = File(args[1], "w");