diff options
author | marcel <marcel@FreeBSD.org> | 2010-09-20 04:20:55 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2010-09-20 04:20:55 +0000 |
commit | e3d05690361abbb1b04fac7e25bb62d95a7b6d36 (patch) | |
tree | da835ee84e13451f120d2e911db89e6275149c87 /contrib/llvm/tools/llvmc/example/Hello/Hello.cpp | |
parent | ec0b99e7f0f65e9161c5baf6c115e6bf1ee2da41 (diff) | |
download | FreeBSD-src-e3d05690361abbb1b04fac7e25bb62d95a7b6d36.zip FreeBSD-src-e3d05690361abbb1b04fac7e25bb62d95a7b6d36.tar.gz |
Unbreak the build on strong-aligned architectures (arm, ia64).
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.
Diffstat (limited to 'contrib/llvm/tools/llvmc/example/Hello/Hello.cpp')
0 files changed, 0 insertions, 0 deletions