Fixed -Wall conversion warning