OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cfea32
)
* gloss.cxx (gloss32::read): Fix argument type mismatch for min.
author
rth
<rth>
Sun, 12 Aug 2001 19:32:17 +0000
(19:32 +0000)
committer
rth
<rth>
Sun, 12 Aug 2001 19:32:17 +0000
(19:32 +0000)
sid/component/gloss/ChangeLog
patch
|
blob
|
history
sid/component/gloss/gloss.cxx
patch
|
blob
|
history
diff --git
a/sid/component/gloss/ChangeLog
b/sid/component/gloss/ChangeLog
index
5673c7e
..
455e4c4
100644
(file)
--- a/
sid/component/gloss/ChangeLog
+++ b/
sid/component/gloss/ChangeLog
@@
-1,3
+1,7
@@
+2001-08-12 Richard Henderson <rth@redhat.com>
+
+ * gloss.cxx (gloss32::read): Fix argument type mismatch for min.
+
2001-08-03 matthew green <mrg@redhat.com>
* gloss.cxx (~gloss32): Add throw() specifier.
diff --git
a/sid/component/gloss/gloss.cxx
b/sid/component/gloss/gloss.cxx
index
769cad9
..
0309179
100644
(file)
--- a/
sid/component/gloss/gloss.cxx
+++ b/
sid/component/gloss/gloss.cxx
@@
-1029,7
+1029,7
@@
gloss32::read (int fd, address32 addr, size32 len,
if (rx_buffer.size() > 0)
{
- count_read = std::min (
len
, rx_buffer.size());
+ count_read = std::min (
size_t(len)
, rx_buffer.size());
for (int i = 0; i < count_read; ++i)
{
c = rx_buffer.front();