fixed store_into_numeric_rcv_slot() which checked the return value of hak_inttooow() in a wrong way
This commit is contained in:
@ -321,7 +321,7 @@ int hak_inttooow (hak_t* hak, hak_oop_t x, hak_oow_t* w)
|
||||
if (v < 0)
|
||||
{
|
||||
*w = -v;
|
||||
hak_seterrnum(hak, HAK_ERANGE);
|
||||
hak_seterrbfmt(hak, HAK_ERANGE, "negative number - %O", x);
|
||||
return -1; /* negative number negated - kind of an error */
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user