mirror of https://github.com/buggins/dlangui.git
fix broken 64bit build
This commit is contained in:
parent
5e30aee4fc
commit
47c56cf718
|
@ -83,7 +83,7 @@ class FileDialog : Dialog, CustomGridCellAdapter {
|
|||
_path = dir;
|
||||
_isRoot = isRoot(dir);
|
||||
path.text = toUTF32(_path);
|
||||
list.rows = _entries.length;
|
||||
list.rows = cast(int)_entries.length;
|
||||
for (int i = 0; i < _entries.length; i++) {
|
||||
string fname = baseName(_entries[i].name);
|
||||
string sz;
|
||||
|
|
|
@ -102,7 +102,7 @@ class StringListAdapter : ListAdapter {
|
|||
|
||||
protected void updateStatesLength() {
|
||||
if (_states.length < _items.length) {
|
||||
int oldlen = _states.length;
|
||||
int oldlen = cast(int)_states.length;
|
||||
_states.length = _items.length;
|
||||
for (int i = oldlen; i < _items.length; i++)
|
||||
_states[i] = State.Enabled;
|
||||
|
|
Loading…
Reference in New Issue