From: John Levon Subject: 13120:3e2d3d737624 breaks Solaris compile Date: Fri, 22 Dec 2006 14:29:57 +0000 Message-ID: <20061222142957.GA4041@totally.trollied.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org The changes to xentop.c: - vwprintw(stdscr, (char *)fmt, args); + vwprintw(stdscr, (const char *)fmt, args); - addstr((char *)str); + addstr((const char *)str); Are both unneccessary on Linux (as they're const char * already), and broken on Solaris, where we have rather unfortunate prototypes from pre-history that aren't constified. I think these need to be reverted back to being the meaningful '(char *)'. regards, john