Fix spelling mistake.
Rename variable to make slightly more sense.
Fix MSVC warning about mismatched sizes.