Updated the sizeof syntax and tweaked some whitespace.