Fix DEBUG POPULATE warning for lack of casting.