projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfdd055
)
(_IO_str_underflow): Read newly available character from buffer as unsigned.
author
Ulrich Drepper
<drepper@gcc.gnu.org>
Fri, 22 May 1998 20:40:02 +0000
(20:40 +0000)
committer
Ulrich Drepper
<drepper@gcc.gnu.org>
Fri, 22 May 1998 20:40:02 +0000
(20:40 +0000)
From-SVN: r19961
libio/strops.c
patch
|
blob
|
history
diff --git
a/libio/strops.c
b/libio/strops.c
index a9f812e04511cf9d23962cea0b6b9c292afb57da..193e39d55cb87311275198c0a14f17a194b37ad7 100644
(file)
--- a/
libio/strops.c
+++ b/
libio/strops.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1993, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1993, 1997
, 1998
Free Software Foundation, Inc.
This file is part of the GNU IO Library.
This library is free software; you can redistribute it and/or
@@
-189,7
+189,7
@@
_IO_str_underflow (fp)
fp->_IO_write_ptr = fp->_IO_write_end;
}
if (fp->_IO_read_ptr < fp->_IO_read_end)
- return *
fp->_IO_read_ptr
;
+ return *
((unsigned char *) fp->_IO_read_ptr)
;
else
return EOF;
}