From: Richard Henderson <rth@redhat.com>
To: sid@sources.redhat.com
Subject: 64-bit buglet
Date: Sun, 12 Aug 2001 11:10:00 -0000 [thread overview]
Message-ID: <20010812111029.A27625@redhat.com> (raw)
I need the following to build sid on an Alpha. This issue
is that the two arguments to std::min must be the same type,
otherwise the template does not match.
Ok?
r~
Index: sid/component/gloss/gloss.cxx
===================================================================
RCS file: /cvs/cvsfiles/devo/sid/component/gloss/gloss.cxx,v
retrieving revision 1.32
diff -c -p -d -r1.32 gloss.cxx
*** gloss.cxx 2001/08/03 06:01:00 1.32
--- gloss.cxx 2001/08/12 18:02:20
*************** gloss32::read (int fd, address32 addr, s
*** 1029,1035 ****
if (rx_buffer.size() > 0)
{
! count_read = std::min (len, rx_buffer.size());
for (int i = 0; i < count_read; ++i)
{
c = rx_buffer.front();
--- 1029,1035 ----
if (rx_buffer.size() > 0)
{
! count_read = std::min (size_t(len), rx_buffer.size());
for (int i = 0; i < count_read; ++i)
{
c = rx_buffer.front();
next reply other threads:[~2001-08-12 11:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-12 11:10 Richard Henderson [this message]
2001-08-12 15:39 ` Ben Elliston
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=20010812111029.A27625@redhat.com \
--to=rth@redhat.com \
--cc=sid@sources.redhat.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).