Cast NSUInteger to unsigned long to avoid 64 bit warning
Merge pull request #9 from adamaveray/master

Silence 64 bit warning