Fix a dumb sizeof bug

I should stop programming at night.