aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xChangeLog1
-rw-r--r--profile.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f4a49bab..68062735 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
diff --git a/profile.c b/profile.c
index e6a528d3..3a4ec04d 100644
--- a/profile.c
+++ b/profile.c
@@ -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);