fixed a wrong type used in StdAwk.cpp

This commit is contained in:
hyung-hwan 2019-11-15 00:43:31 +00:00
parent 865207e3b9
commit 0cc0de3d7b

View File

@ -433,7 +433,7 @@ int StdAwk::setioattr (
else
{
qse_awk_flt_t nsec;
ioattr->tmout[tmout].sec = (qse_int_t)fv;
ioattr->tmout[tmout].sec = (qse_awk_int_t)fv;
nsec = fv - ioattr->tmout[tmout].sec;
ioattr->tmout[tmout].nsec = QSE_SEC_TO_NSEC(nsec);
}