public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Steven J Abner <tauvan@starpower.net>
To: Ian Lance Taylor <ian@wasabisystems.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: -Wconversion
Date: Sat, 17 Apr 2004 19:11:00 -0000	[thread overview]
Message-ID: <F7D9C017-90A2-11D8-B1E3-0050E4396B62@starpower.net> (raw)
In-Reply-To: <m3fzb2tps1.fsf@gossamer.airs.com>


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

      reply	other threads:[~2004-04-17 19:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-17 16:59 -Wconversion Steven J Abner
2004-04-17 18:36 ` -Wconversion Ian Lance Taylor
2004-04-17 19:11   ` Steven J Abner [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=F7D9C017-90A2-11D8-B1E3-0050E4396B62@starpower.net \
    --to=tauvan@starpower.net \
    --cc=gcc-help@gcc.gnu.org \
    --cc=ian@wasabisystems.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).