aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-05-09 20:08:15 +0300
committerArnold D. Robbins <arnold@skeeve.com>2012-05-09 20:08:15 +0300
commit8ff0b4eaa7592280b5a55087c0326c6ef1f88db5 (patch)
treeeae689a948e50dbf462b7e0d0c3d225409f6c7b0 /debug.c
parent17a2a7c14dc27248d87f2561a1ec311ad4972355 (diff)
parentfe0a0998411173db5cab614253562b2efd6f9664 (diff)
downloadegawk-8ff0b4eaa7592280b5a55087c0326c6ef1f88db5.tar.gz
egawk-8ff0b4eaa7592280b5a55087c0326c6ef1f88db5.tar.bz2
egawk-8ff0b4eaa7592280b5a55087c0326c6ef1f88db5.zip
Merge branch 'gawk-4.0-stable'
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index 9f30ff9f..91d95eed 100644
--- a/debug.c
+++ b/debug.c
@@ -3717,7 +3717,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) {