Casting from (char *) to (struct ufs1_dinode *) changes the alignment requirement of the pointer and GCC does not know that the pointer is adequately aligned (due to malloc(3)), and warns about it. Cast to (void *) first to by-pass the check. |
||
---|---|---|
.. | ||
debug.c | ||
debug.h | ||
growfs.8 | ||
growfs.c | ||
Makefile |