From cf2f249ba93851459b2429fc0a6b39eecb41d40f Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Sat, 14 Dec 2019 16:20:46 +0000 Subject: [PATCH] removed typecasgint to int for length to %.*js --- hawk/lib/run.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hawk/lib/run.c b/hawk/lib/run.c index 889abc1c..dbce7514 100644 --- a/hawk/lib/run.c +++ b/hawk/lib/run.c @@ -1571,7 +1571,7 @@ hawk_val_t* hawk_rtx_callfun (hawk_rtx_t* rtx, hawk_fun_t* fun, hawk_val_t* args { /* this function contains pass-by-reference parameters. * i don't support the call here as it requires variables */ - hawk_rtx_seterrfmt (rtx, HAWK_EPERM, HAWK_NULL, HAWK_T("not allowed to call '%.*js' with pass-by-reference parameters"), (int)fun->name.len, fun->name.ptr); + hawk_rtx_seterrfmt (rtx, HAWK_EPERM, HAWK_NULL, HAWK_T("not allowed to call '%.*js' with pass-by-reference parameters"), fun->name.len, fun->name.ptr); return HAWK_NULL; } #endif