fix compatibility issue
make compiler stop complaining
Merge pull request #66 from clowwindy/master

Fix compatibility issues