Fix type mismatch that the release build does not like.