Updated a cast to use a more appropriate type.
Authored by: aaronjacobs 2011-05-24
Parent: [r195]
Child: [r197]