Originally Posted by Tommo > > p = (some_typ *)malloc(sizeof(p)); Don't cast malloc. ... why "don't cast malloc" ? because it is automatic or because it is wrong?