svn commit: r264069 - head/lib/libc/include

David Chisnall theraven at FreeBSD.org
Thu Apr 3 08:08:37 UTC 2014


Author: theraven
Date: Thu Apr  3 08:08:36 2014
New Revision: 264069
URL: http://svnweb.freebsd.org/changeset/base/264069

Log:
  Add an extra void* cast to work around a bug in FreeBSD-gcc inherited
  from Apple.

Modified:
  head/lib/libc/include/block_abi.h

Modified: head/lib/libc/include/block_abi.h
==============================================================================
--- head/lib/libc/include/block_abi.h	Thu Apr  3 07:28:36 2014	(r264068)
+++ head/lib/libc/include/block_abi.h	Thu Apr  3 08:08:36 2014	(r264069)
@@ -60,4 +60,4 @@
 		int flags;\
 		int reserved;\
 		void (*invoke)(void *, ...);\
-	}*)x)->invoke)
+	}*)(void*)x)->invoke)


More information about the svn-src-all mailing list