mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update
2002-02-19 Jakub Jelinek <jakub@redhat.com> * libio/fileops.c (_IO_file_underflow_mmap): Cast to unsigned char pointer before dereferencing.
This commit is contained in:
@ -579,7 +579,7 @@ _IO_file_underflow_mmap (_IO_FILE *fp)
|
||||
|
||||
fp->_offset = fp->_IO_buf_end - fp->_IO_buf_base;
|
||||
fp->_IO_read_end = fp->_IO_buf_end;
|
||||
return *fp->_IO_read_ptr;
|
||||
return *(unsigned char *) fp->_IO_read_ptr;
|
||||
}
|
||||
|
||||
fp->_flags |= _IO_EOF_SEEN;
|
||||
|
Reference in New Issue
Block a user