peterm
committed
on 17 Mar 04
fixing bug in casting algorithm. A role in the last case would not be cast.