mirror of https://github.com/buggins/dlangui.git
Changed long to ptrdiff_t fix 32bit build
This commit is contained in:
parent
2677025486
commit
076b2a44e7
|
@ -103,7 +103,7 @@ class SDLWindow : Window {
|
||||||
debug Log.d("Destroying SDL window");
|
debug Log.d("Destroying SDL window");
|
||||||
|
|
||||||
if (_parent) {
|
if (_parent) {
|
||||||
long index = countUntil(_parent._children,this);
|
ptrdiff_t index = countUntil(_parent._children,this);
|
||||||
if (index > -1 ) {
|
if (index > -1 ) {
|
||||||
_parent._children=_parent._children.remove(index);
|
_parent._children=_parent._children.remove(index);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue