fix, array length has to be of type size_t
...otherwise build fails on a 32 bit OS
This commit is contained in:
parent
9c8abe55fa
commit
65415a15d5
|
@ -53,7 +53,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);
|
||||||
}
|
}
|
||||||
LexerConfig config;
|
LexerConfig config;
|
||||||
|
|
Loading…
Reference in New Issue