From cc628191ce80c9674d8a0f073c0726c43a642365 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sun, 17 Apr 2011 06:27:01 +0000 Subject: [PATCH] Avoid a warning in debugging mode --- src/format.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/format.c b/src/format.c index 97e4cac..e90f5a6 100644 --- a/src/format.c +++ b/src/format.c @@ -121,7 +121,8 @@ int format_function(Format * format, char const * function) int format_init(Format * format, char const * filename, FILE * fp) { #ifdef DEBUG - fprintf(stderr, "DEBUG: %s(\"%s\", %p)\n", __func__, filename, fp); + fprintf(stderr, "DEBUG: %s(\"%s\", %p)\n", __func__, filename, + (void *)fp); #endif format->helper.filename = filename; format->helper.fp = fp;