diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2012-05-07 21:59:26 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2012-05-07 21:59:26 +0300 |
commit | f8ca822a7e81bd80afa7181ec5c0f0b4a50a4945 (patch) | |
tree | c1f332cdba2d0aed44e9f14cb3fc0b04028dd334 /debug.c | |
parent | 15070b3cd065d20f04985568edf18723ee7d761e (diff) | |
download | egawk-f8ca822a7e81bd80afa7181ec5c0f0b4a50a4945.tar.gz egawk-f8ca822a7e81bd80afa7181ec5c0f0b4a50a4945.tar.bz2 egawk-f8ca822a7e81bd80afa7181ec5c0f0b4a50a4945.zip |
Fix minor printf format warnings.
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3704,7 +3704,8 @@ print_instruction(INSTRUCTION *pc, Func_print print_func, FILE *fp, int in_dump) if (noffset == 0) { static char buf[50]; /* offset for 2nd to last lines in a multi-line output */ - noffset = sprintf(buf, "[ :%p] %-20.20s: ", pc, opcode2str(pc->opcode)); + noffset = sprintf(buf, "[ :%p] %-20.20s: ", (void *) pc, + opcode2str(pc->opcode)); } if (pc->opcode == Op_func) { |