From cad47868c99d4eac0ae2ad305399143a9aed3b2d Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Wed, 28 Sep 2011 20:27:03 -0700 Subject: Add const to parse_double() args to fix gcc -Wwrite-strings warnings Signed-off-by: Alan Coopersmith --- math.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'math.c') diff --git a/math.c b/math.c index e1dab3b..edfd945 100644 --- a/math.c +++ b/math.c @@ -109,7 +109,7 @@ static int priority(int op); */ static void -parse_double (char *src, char *fmt, double *dp) +parse_double (const char *src, const char *fmt, double *dp) { int olderrno = errno; -- cgit v1.2.3