diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-08-28 21:59:47 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-08-28 21:59:47 +0300 |
commit | 3dc121c0569474fc156e2bdef809fb486a595fc9 (patch) | |
tree | e5d8c42ee17d2eab0f12ce30242aad4b32f42c35 /interpret.h | |
parent | b6c2f771be4c1f0658ede3c2548c573dff25e3bc (diff) | |
download | egawk-3dc121c0569474fc156e2bdef809fb486a595fc9.tar.gz egawk-3dc121c0569474fc156e2bdef809fb486a595fc9.tar.bz2 egawk-3dc121c0569474fc156e2bdef809fb486a595fc9.zip |
Remove warnings around some printf arguments in interpret.h.
Diffstat (limited to 'interpret.h')
-rw-r--r-- | interpret.h | 8 |
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)); |