diff options
author | Chris <christopherwuy@gmail.com> | 2020-08-07 18:10:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 13:10:20 +0300 |
commit | b78514101907978f7776df1b5d95dac8a7798129 (patch) | |
tree | d4cfa72e1f6c9de5ea4b6c8aafb1c69cf307e32e /run.c | |
parent | 1b3984634f0ac427443b30fccf58d8140e07af96 (diff) | |
download | one-true-awk-b78514101907978f7776df1b5d95dac8a7798129.tar.gz |
printf: The argument p shall be a pointer to void. (#93)
Diffstat (limited to 'run.c')
-rw-r--r-- | run.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -119,7 +119,7 @@ int adjbuf(char **pbuf, int *psiz, int minlen, int quantum, char **pbptr, if (rminlen) minlen += quantum - rminlen; tbuf = realloc(*pbuf, minlen); - DPRINTF("adjbuf %s: %d %d (pbuf=%p, tbuf=%p)\n", whatrtn, *psiz, minlen, *pbuf, tbuf); + DPRINTF("adjbuf %s: %d %d (pbuf=%p, tbuf=%p)\n", whatrtn, *psiz, minlen, (void*)*pbuf, (void*)tbuf); if (tbuf == NULL) { if (whatrtn) FATAL("out of memory in %s", whatrtn); @@ -1843,7 +1843,7 @@ const char *filename(FILE *fp) Cell *x; size_t i; bool stat; - + x = execute(a[0]); getsval(x); stat = true; |