formated the code
removed unnecessary casts
Authored by: orth 2006-07-27
Parent: [r3776]
Child: [r3778]