Fix for 64-bit env

This commit is contained in:
otya128 committed 2017-07-03 22:13:39 +09:00
1 parent 0b1062471c
commit 9ed4299f26
1 file changed
+1 -1
+1 -1
View File
@@ -208,7 +208,7 @@ r"ファイルを書き込みます。
{
f.seek(0);
harray[0].dimension = 1;
harray[0].dim[] = [cast(int)f.size / int.sizeof, 0, 0, 0];
harray[0].dim[] = [cast(int)(f.size / int.sizeof), 0, 0, 0];
harray[0].type = DataType.int_;
}
if (harray[0].dimension != contents.dimCount)