From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Henderson To: sid@sources.redhat.com Subject: 64-bit buglet Date: Sun, 12 Aug 2001 11:10:00 -0000 Message-id: <20010812111029.A27625@redhat.com> X-SW-Source: 2001-q3/msg00048.html 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();