Needed to cast to long
Merge branch 'develop' of git://github.com/ingenuitas/SimpleCV into develop