From 8137d94d1ad0371ab2b7544fac4025b0dcb87f23 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Mon, 28 Mar 2016 15:33:03 +0200 Subject: [PATCH] Fix endTimer parameter type --- xsltproc/xsltproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c index 3f49cec3..ead38930 100644 --- a/xsltproc/xsltproc.c +++ b/xsltproc/xsltproc.c @@ -287,7 +287,7 @@ static void startTimer(void) { begin=clock(); } -static void endTimer(char *format, ...) +static void endTimer(const char *format, ...) { long msec; va_list ap; @@ -313,7 +313,7 @@ static void startTimer(void) * Do nothing */ } -static void endTimer(char *format, ...) +static void endTimer(const char *format, ...) { /* * We cannot do anything because we don't have a timing function