Updated the sizeof syntax and trimmed some trailing whitespace.