mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 22:10:21 +02:00
* ioext.c (s_scm_read_line): Cast result of call to
scm_do_read_line to unsigned char ptr.
This commit is contained in:
parent
a9121c98ac
commit
dce41066d3
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ SCM_DEFINE (scm_read_line, "%read-line", 0, 1, 0,
|
|||
if (pt->rw_active == SCM_PORT_WRITE)
|
||||
scm_ptobs[SCM_PTOBNUM (port)].flush (port);
|
||||
|
||||
s = scm_do_read_line (port, &slen);
|
||||
s = (char *) scm_do_read_line (port, &slen);
|
||||
|
||||
if (s == NULL)
|
||||
term = line = SCM_EOF_VAL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue