summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-14 04:05:07 -0500
committermidipix <writeonce@midipix.org>2015-12-14 04:05:07 -0500
commit7964a7182d3423dccc94dca7db847872498982bf (patch)
tree0d6a4d7b1abf1a1bffbb54ab0e4b234f55f1a0ff /src
parent3d1b762ff2cbf084f7b28d81783a75b9f0c37b74 (diff)
downloadsofort-7964a7182d3423dccc94dca7db847872498982bf.tar.bz2
sofort-7964a7182d3423dccc94dca7db847872498982bf.tar.xz
sfrt_output_address(): printf compliance.
Diffstat (limited to 'src')
-rw-r--r--src/output/sfrt_output_address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/sfrt_output_address.c b/src/output/sfrt_output_address.c
index d447818..019a2dd 100644
--- a/src/output/sfrt_output_address.c
+++ b/src/output/sfrt_output_address.c
@@ -9,5 +9,5 @@
sfrt_api
int sfrt_output_address(const struct sfrt_unit_ctx * uctx, FILE * f)
{
- return fprintf(f,"%0*p\n",2*sizeof(size_t),uctx->map->addr);
+ return fprintf(f,"%*p\n",(int)(2*sizeof(size_t)),uctx->map->addr);
}