summaryrefslogtreecommitdiff
path: root/math.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 20:27:03 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-28 20:27:03 -0700
commitcad47868c99d4eac0ae2ad305399143a9aed3b2d (patch)
treeb27840be18737aace1423c841a9c98a6b3c3408a /math.c
parentc8ef1bb20266365a46ea82dfff79c78b6c61337d (diff)
Add const to parse_double() args to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'math.c')
-rw-r--r--math.c2
1 files changed, 1 insertions, 1 deletions
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;