comparison examples/layouts/borderlayout/borderlayout.d @ 406:778ef7374fb5

Fixes for 64 bit. Now all examples compile with gdc 64 bit
author Eldar Insafutdinov
date Fri, 18 Mar 2011 00:30:48 +0000
parents 7c2cf27391c4
children
comparison
equal deleted inserted replaced
403:8564ab82ea42 406:778ef7374fb5
102 return false; 102 return false;
103 } 103 }
104 104
105 int count() const 105 int count() const
106 { 106 {
107 return list.length; 107 return cast(int)list.length;
108 } 108 }
109 109
110 IQLayoutItem itemAt(int index) const 110 IQLayoutItem itemAt(int index) const
111 { 111 {
112 if(index >= 0 && index < list.length) 112 if(index >= 0 && index < list.length)