1
0

Fix for 64bit environment

This commit is contained in:
otya128
2016-12-11 18:50:47 +09:00
parent e7375481f3
commit d118f72d06

View File

@@ -1157,7 +1157,7 @@ class PetitComputer
int oldCSRX = this.console.CSRX;
int oldCSRY = this.console.CSRY;
int pos;
int historyIndex = inputHistory.length;
int historyIndex = cast(int)inputHistory.length;
void setText(wstring text)
{
console.CSRX = oldCSRX;
@@ -1167,7 +1167,7 @@ class PetitComputer
console.print(" ");
}
buffer = text;
pos = text.length;
pos = cast(int)text.length;
console.CSRX = oldCSRX;
console.CSRY = oldCSRY;
console.print(text);