#331951 by aspilicious, sun, jhodgdon, Morbus, et al: Figure out and apply coding standard for casting.