-Wshorten

Fix warning found by -Wshorten