64 bit oops

This commit is contained in:
Adam D. Ruppe 2018-03-06 13:37:35 -05:00
parent 3c7ad66389
commit 530f378385
1 changed files with 1 additions and 1 deletions

View File

@ -6534,7 +6534,7 @@ class AutomaticDialog(T) : Dialog {
t = new T();
this.onOK = onOK;
this.onCancel = onCancel;
super(400, (__traits(allMembers, T).length + 5) * Window.lineHeight, T.stringof);
super(400, cast(int)(__traits(allMembers, T).length + 5) * Window.lineHeight, T.stringof);
foreach(memberName; __traits(allMembers, T)) {
alias member = I!(__traits(getMember, t, memberName))[0];