Do not take sizeof of a pointer
Merge pull request #479 from LebedevRI/sizeof-of-pointer

Do not take sizeof of a pointer