diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-28 20:27:03 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-28 20:27:03 -0700 |
commit | cad47868c99d4eac0ae2ad305399143a9aed3b2d (patch) | |
tree | b27840be18737aace1423c841a9c98a6b3c3408a | |
parent | c8ef1bb20266365a46ea82dfff79c78b6c61337d (diff) |
Add const to parse_double() args to fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | math.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |