From 7964a7182d3423dccc94dca7db847872498982bf Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 14 Dec 2015 04:05:07 -0500 Subject: sfrt_output_address(): printf compliance. --- src/output/sfrt_output_address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- cgit v1.2.3