1
0

Fix size_t

This commit is contained in:
otya128
2016-12-24 19:43:00 +09:00
parent 2c970f6dea
commit 96b25f178e

View File

@@ -2360,11 +2360,11 @@ class BuiltinFunction
auto l = p.project.getFileList(project, res); auto l = p.project.getFileList(project, res);
if (l.length > array.length) if (l.length > array.length)
{ {
array.length = l.length; array.length = cast(int)l.length;
} }
foreach (i, j; l) foreach (i, j; l)
{ {
array[i] = Value(j); array[i] = Value(cast(int)j);
} }
} }
static void ACLS(PetitComputer p) static void ACLS(PetitComputer p)