Changed long to ptrdiff_t fix 32bit build

This commit is contained in:
and3md 2017-04-08 17:02:07 +02:00
parent 2677025486
commit 076b2a44e7
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class SDLWindow : Window {
debug Log.d("Destroying SDL window");
if (_parent) {
long index = countUntil(_parent._children,this);
ptrdiff_t index = countUntil(_parent._children,this);
if (index > -1 ) {
_parent._children=_parent._children.remove(index);
}