From: Tommy Reynolds <reynolds@redhat.com>
To: Chris Friesen <cfriesen@nortelnetworks.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: compiler warnings and syscall macros
Date: Mon, 22 Sep 2003 16:51:04 -0500 [thread overview]
Message-ID: <20030922165104.29176e94.reynolds@redhat.com> (raw)
In-Reply-To: <3F6F6B1B.9040609@nortelnetworks.com>
Uttered Chris Friesen <cfriesen@nortelnetworks.com>, spoke thus:
> Would it hurt anything if I put in an explicit cast, like this?
>
> __sc_ret = (unsigned long) -1;
Why not do the obvious:
__sc_ret = -1UL;
and use a proper constant?
next prev parent reply other threads:[~2003-09-22 21:51 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-22 21:35 Chris Friesen
2003-09-22 21:51 ` Tommy Reynolds [this message]
2003-09-23 14:23 ` Chris Friesen
2003-09-22 22:49 ` H. Peter Anvin
2003-09-22 23:08 ` H. Peter Anvin
2003-09-22 22:49 ` H. Peter Anvin
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=20030922165104.29176e94.reynolds@redhat.com \
--to=reynolds@redhat.com \
--cc=cfriesen@nortelnetworks.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®