aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-08-28 22:12:16 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-08-28 22:12:16 +0300
commite3d10b231e20e64c673556d3ed4eb96dbe8bbff3 (patch)
tree78efa4ed54bba9c56e8d0112f5eeb7903a9bb6da /interpret.h
parentebb3d8ff179f99fd2abf088743b1076fb8eaa20b (diff)
parent00af70530b9a79dbeee4d0e7a0fafdb9bee134d5 (diff)
downloadegawk-e3d10b231e20e64c673556d3ed4eb96dbe8bbff3.tar.gz
egawk-e3d10b231e20e64c673556d3ed4eb96dbe8bbff3.tar.bz2
egawk-e3d10b231e20e64c673556d3ed4eb96dbe8bbff3.zip
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/interpret.h b/interpret.h
index 6c5b432e..166a11e1 100644
--- a/interpret.h
+++ b/interpret.h
@@ -973,11 +973,15 @@ arrayfor:
if (arg_count < min_req)
fatal(_("%s: called with %lu arguments, expecting at least %lu"),
- pc[1].func_name, arg_count, min_req);
+ pc[1].func_name,
+ (unsigned long) arg_count,
+ (unsigned long) min_req);
if (do_lint && ! f->suppress_lint && arg_count > max_expect)
lintwarn(_("%s: called with %lu arguments, expecting no more than %lu"),
- pc[1].func_name, arg_count, max_expect);
+ pc[1].func_name,
+ (unsigned long) arg_count,
+ (unsigned long) max_expect);
PUSH_CODE(pc);
r = awk_value_to_node(pc->extfunc(arg_count, & result, f));