Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2014 08:08:37 +0000 (UTC)
From:      David Chisnall <theraven@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264069 - head/lib/libc/include
Message-ID:  <201404030808.s3388b6T050788@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404030808.s3388b6T050788>