if casting, use c++ style casting: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Casting