From owner-svn-src-projects@FreeBSD.ORG Thu Feb 20 23:02:43 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 662E3685; Thu, 20 Feb 2014 23:02:43 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 50C7E1B30; Thu, 20 Feb 2014 23:02:43 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1KN2h0P002970; Thu, 20 Feb 2014 23:02:43 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1KN2hg4002969; Thu, 20 Feb 2014 23:02:43 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201402202302.s1KN2hg4002969@svn.freebsd.org> From: Dimitry Andric Date: Thu, 20 Feb 2014 23:02:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r262268 - projects/clang-sparc64/lib/libc/sparc64/sys X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Feb 2014 23:02:43 -0000 Author: dim Date: Thu Feb 20 23:02:42 2014 New Revision: 262268 URL: http://svnweb.freebsd.org/changeset/base/262268 Log: In lib/libc/sparc64/sys/__sparc_utrap_setup.c, avoid an error about passing a pointer to a const object to sysarch(). Modified: projects/clang-sparc64/lib/libc/sparc64/sys/__sparc_utrap_setup.c Modified: projects/clang-sparc64/lib/libc/sparc64/sys/__sparc_utrap_setup.c ============================================================================== --- projects/clang-sparc64/lib/libc/sparc64/sys/__sparc_utrap_setup.c Thu Feb 20 22:41:06 2014 (r262267) +++ projects/clang-sparc64/lib/libc/sparc64/sys/__sparc_utrap_setup.c Thu Feb 20 23:02:42 2014 (r262268) @@ -54,5 +54,5 @@ void __sparc_utrap_setup(void) { - sysarch(SPARC_UTRAP_INSTALL, &uia); + sysarch(SPARC_UTRAP_INSTALL, (void *)&uia); }