fixed a wrong type used in StdAwk.cpp
This commit is contained in:
parent
865207e3b9
commit
0cc0de3d7b
@ -433,7 +433,7 @@ int StdAwk::setioattr (
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
qse_awk_flt_t nsec;
|
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;
|
nsec = fv - ioattr->tmout[tmout].sec;
|
||||||
ioattr->tmout[tmout].nsec = QSE_SEC_TO_NSEC(nsec);
|
ioattr->tmout[tmout].nsec = QSE_SEC_TO_NSEC(nsec);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user