Merge pull request #1 from BBasile/master
fix, array length has to be of type size_t
This commit is contained in:
commit
39fadba85c
|
@ -58,7 +58,7 @@ int main(string[] args)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
File f = File(args[1]);
|
File f = File(args[1]);
|
||||||
buffer = new ubyte[](f.size);
|
buffer = new ubyte[](cast(size_t)f.size);
|
||||||
f.rawRead(buffer);
|
f.rawRead(buffer);
|
||||||
if (inplace)
|
if (inplace)
|
||||||
output = File(args[1], "w");
|
output = File(args[1], "w");
|
||||||
|
|
Loading…
Reference in New Issue