Did you not see that your question was answered?

Try putting a dummy struct variable upstream of your sizeof calls. And then test sizeof to confirm it is outputting the expected values.