diff options
author | Peter Johnson <peter@tortall.net> | 2001-10-03 08:00:53 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2001-10-03 08:00:53 +0000 |
commit | fb89878708ab11a1a0720b2edbae35ac60f7573d (patch) | |
tree | 2c57ce4986d33eb87459c399c5c80c75f78391ca /libyasm/floatnum.c | |
parent | 55c7822fa5f17d86651ecb02dadfbaee006d0202 (diff) | |
download | yasm-fb89878708ab11a1a0720b2edbae35ac60f7573d.tar.gz |
Const'ify floatnum_new() input string.
svn path=/trunk/yasm/; revision=259
Diffstat (limited to 'libyasm/floatnum.c')
-rw-r--r-- | libyasm/floatnum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libyasm/floatnum.c b/libyasm/floatnum.c index e0a4fc32..5979fe1f 100644 --- a/libyasm/floatnum.c +++ b/libyasm/floatnum.c @@ -281,7 +281,7 @@ floatnum_mul(floatnum *acc, const floatnum *op) } floatnum * -floatnum_new(char *str) +floatnum_new(const char *str) { floatnum *flt; int dec_exponent, dec_exp_add; /* decimal (powers of 10) exponent */ |