Fix implicit conversion warning on 64bit targets

We've been seeing these warnings on our project and thought it was about time someone silenced them :)