I had figured it was the casting as you indicated.

Dave
_________________________
There are 10 kinds of people.
Those that understand binary and those that don't.