Add cast to remove warning.