diff options
author | theraven <theraven@FreeBSD.org> | 2014-04-03 08:08:36 +0000 |
---|---|---|
committer | theraven <theraven@FreeBSD.org> | 2014-04-03 08:08:36 +0000 |
commit | 90b49846334cf2a277b41e2012942999c29d92c1 (patch) | |
tree | 1f002bc3eaf6c9fbfd3c0b24b841b76b235fdbbb | |
parent | bb123e95cd60a2078d350aef8730ded5cf9d7f3f (diff) | |
download | FreeBSD-src-90b49846334cf2a277b41e2012942999c29d92c1.zip FreeBSD-src-90b49846334cf2a277b41e2012942999c29d92c1.tar.gz |
Add an extra void* cast to work around a bug in FreeBSD-gcc inherited
from Apple.
-rw-r--r-- | lib/libc/include/block_abi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/include/block_abi.h b/lib/libc/include/block_abi.h index 7d1e728..b0d6e57 100644 --- a/lib/libc/include/block_abi.h +++ b/lib/libc/include/block_abi.h @@ -60,4 +60,4 @@ int flags;\ int reserved;\ void (*invoke)(void *, ...);\ - }*)x)->invoke) + }*)(void*)x)->invoke) |