Add cast to avoid compilation error/warning