Fix size_t

This commit is contained in:
otya128 committed 2016-12-29 16:38:32 +09:00
1 parent 45e8bbd4e9
commit 33f8f67d13
1 file changed
+1 -1
+1 -1
View File
@@ -340,7 +340,7 @@ class VM
static Name parse(wstring input)
{
import std.array;
int index = input.indexOf(':');
sizediff_t index = cast(sizediff_t)input.indexOf(':');
if (index == -1)
{
return Name(false, -1, input);