mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
Use scm_num2int rather than SCM_INUM in soft port extension.
This commit is contained in:
parent
34010f5694
commit
9768e0a96e
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ sf_input_waiting (SCM port)
|
|||
{
|
||||
SCM f = SCM_VELTS (p)[5];
|
||||
if (SCM_NFALSEP (f))
|
||||
return SCM_INUM (scm_call_0 (f));
|
||||
return scm_num2int (scm_call_0 (f), SCM_ARGn, NULL);
|
||||
}
|
||||
/* Default is such that char-ready? for soft ports returns #t, as it
|
||||
did before this extension was implemented. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue