diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-04-16 14:54:27 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-04-16 14:54:27 -0700 |
commit | e10c2d6ab9e3ee5ebeca76a34dd93d624b579da1 (patch) | |
tree | 2a0216a274628659694e875dd03ffe65ab5344ad /Python/dtoa.c | |
parent | 52fdbac919f35a276a2924a1dfe8b71c2b497db2 (diff) | |
parent | 88a7179f982d5982844e7e57c303c2df1f5e7854 (diff) | |
download | cpython-e10c2d6ab9e3ee5ebeca76a34dd93d624b579da1.tar.gz |
merge 3.5 (#26659)
Diffstat (limited to 'Python/dtoa.c')
-rw-r--r-- | Python/dtoa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/dtoa.c b/Python/dtoa.c index 3da546ed07..e0665b667e 100644 --- a/Python/dtoa.c +++ b/Python/dtoa.c @@ -747,7 +747,7 @@ pow5mult(Bigint *b, int k) { Bigint *b1, *p5, *p51; int i; - static int p05[3] = { 5, 25, 125 }; + static const int p05[3] = { 5, 25, 125 }; if ((i = k & 3)) { b = multadd(b, p05[i-1], 0); @@ -803,7 +803,7 @@ pow5mult(Bigint *b, int k) { Bigint *b1, *p5, *p51; int i; - static int p05[3] = { 5, 25, 125 }; + static const int p05[3] = { 5, 25, 125 }; if ((i = k & 3)) { b = multadd(b, p05[i-1], 0); @@ -2315,7 +2315,7 @@ rv_alloc(int i) } static char * -nrv_alloc(char *s, char **rve, int n) +nrv_alloc(const char *s, char **rve, int n) { char *rv, *t; |