diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2018-10-16 21:10:59 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2018-10-16 21:10:59 +0300 |
commit | 4a3d2f254868347ddf54bc649c1ebf1d0af5ae0c (patch) | |
tree | 8e8c38efdff41e5e3f536b4e5e3e89586baa8ea8 | |
parent | 8848f21e0a2e0223a3963f84cf24aa1bbf4f7e55 (diff) | |
download | egawk-4a3d2f254868347ddf54bc649c1ebf1d0af5ae0c.tar.gz egawk-4a3d2f254868347ddf54bc649c1ebf1d0af5ae0c.tar.bz2 egawk-4a3d2f254868347ddf54bc649c1ebf1d0af5ae0c.zip |
Fix compiler warning from Cygwin.
-rwxr-xr-x | ChangeLog | 1 | ||||
-rw-r--r-- | profile.c | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -6,6 +6,7 @@ * debug.c (print_instruction): Handle comments for case and default. Simplify printing of comments. * profile.c (pprint): Handle comments for case and default. + Remove compiler warning in Op_and/Op_or handling. 2018-10-14 Arnold D. Robbins <arnold@skeeve.com> @@ -420,7 +420,7 @@ cleanup: emalloc(str, char *, len, "pprint"); sprintf(str, "%s%s%s%.*s %s", t1->pp_str, op2str(pc->opcode), pc->comment->memory->stptr, - indent_level + 1, tabs, t2->pp_str); + (int) indent_level + 1, tabs, t2->pp_str); } pp_free(t1); pp_free(t2); |