From 9ed4299f268afb5a63eb8d0f750181f13b3d7bd7 Mon Sep 17 00:00:00 2001 From: otya128 Date: Mon, 3 Jul 2017 22:13:39 +0900 Subject: [PATCH] Fix for 64-bit env --- SMILEBASIC/project.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMILEBASIC/project.d b/SMILEBASIC/project.d index 5b34e4a..83f6355 100644 --- a/SMILEBASIC/project.d +++ b/SMILEBASIC/project.d @@ -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)