Changed type of struct pointer