Windows requires size_t to be passed to uninitializedArray() in modulecache.d
This commit is contained in:
parent
d01050f316
commit
417703d103
|
|
@ -87,7 +87,7 @@ struct ModuleCache
|
|||
try
|
||||
{
|
||||
File f = File(location);
|
||||
ubyte[] source = uninitializedArray!(ubyte[])(f.size);
|
||||
ubyte[] source = uninitializedArray!(ubyte[])(cast(size_t)f.size);
|
||||
f.rawRead(source);
|
||||
|
||||
LexerConfig config;
|
||||
|
|
|
|||
Loading…
Reference in New Issue