Fix the warning that was driving me batty with a typecast