You are assigning a pointer of type "friendt" to "friendh".
newNode -> friendh -> next // is a pointer of type friendh. You are assigning it a pointer of type friendt.
You're doing the opposite in the next line. Assigning friendh to friendt.
Assuming both your structs do the same thing, keep one struct or change the type of pointer in your struct to reflect your code. I.e. Change frndh* next to frndt* next and the same with the other struct