Fixed type casting error that was breaking compilation.
Merge pull request #92 from clarkminor/master

Fixed type error that was breaking compilation