Fix comparison warning on x86_64

https://gist.github.com/enricostano/5330314