If we're down to explicit casts...

at least use the proper type.