From owner-svn-src-head@FreeBSD.ORG Thu Apr 3 08:08:37 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3D4252E6; Thu, 3 Apr 2014 08:08:37 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2A63392C; Thu, 3 Apr 2014 08:08:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s3388bPW050789; Thu, 3 Apr 2014 08:08:37 GMT (envelope-from theraven@svn.freebsd.org) Received: (from theraven@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s3388b6T050788; Thu, 3 Apr 2014 08:08:37 GMT (envelope-from theraven@svn.freebsd.org) Message-Id: <201404030808.s3388b6T050788@svn.freebsd.org> From: David Chisnall Date: Thu, 3 Apr 2014 08:08:37 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r264069 - head/lib/libc/include X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2014 08:08:37 -0000 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)