From 872a51f7cf8a1317d6d6342fb5c7cf5c854c37b6 Mon Sep 17 00:00:00 2001 From: otya128 Date: Tue, 23 Feb 2016 21:59:40 +0900 Subject: [PATCH] c --- SMILEBASIC/VM.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SMILEBASIC/VM.d b/SMILEBASIC/VM.d index d8988f3..4aca139 100644 --- a/SMILEBASIC/VM.d +++ b/SMILEBASIC/VM.d @@ -65,10 +65,10 @@ class VM currentSlot = slots[slot]; this.slot = slot; } - void directSlot(int start, Code[] code, int len, VMVariable[wstring] globalTable, Function[wstring] functions, DataTable gdt/*GNU Debugging Tools*/, + void directSlot(sizediff_t start, Code[] code, int len, VMVariable[wstring] globalTable, Function[wstring] functions, DataTable gdt/*GNU Debugging Tools*/, int[wstring] globalLabel, DebugInfo dinfo) { - this.pc = start; + this.pc = cast(int)start; auto c = this.currentSlot; c.globalTable = globalTable; c.code = code;