From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27122 invoked by alias); 17 Apr 2004 19:11:12 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 27115 invoked from network); 17 Apr 2004 19:11:12 -0000 Received: from unknown (HELO smtp02.mrf.mail.rcn.net) (207.172.4.61) by sources.redhat.com with SMTP; 17 Apr 2004 19:11:12 -0000 Received: from 66-44-0-208.s208.apx1.lnh.md.dialup.rcn.com ([66.44.0.208] helo=localhost) by smtp02.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) id 1BEvDa-0006eU-00; Sat, 17 Apr 2004 15:11:11 -0400 Date: Sat, 17 Apr 2004 19:11:00 -0000 Subject: Re: -Wconversion Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: gcc-help@gcc.gnu.org To: Ian Lance Taylor From: Steven J Abner In-Reply-To: Message-Id: Content-Transfer-Encoding: 7bit X-SW-Source: 2004-04/txt/msg00229.txt.bz2 On Saturday, April 17, 2004, at 02:36 PM, Ian Lance Taylor wrote: > Use typecasts: chmod ("foo", (mode_t) x); Thanks. My variable x is mode_t and casting it a second time as mode_t does stop my warning. Steven