set the type of the pointer into sizeof, so its definitely the right