Fixes sign-compare warning