diff options
| author | Benjamin Peterson <benjamin@python.org> | 2016-05-26 22:56:51 -0700 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2016-05-26 22:56:51 -0700 |
| commit | f701975a05ebda1c87ee2d078d2917676dc0de8b (patch) | |
| tree | 862aecee76f5699e7d5b47b02389c3d9824b1f91 /Python/dtoa.c | |
| parent | 4d34b84dfcd51bf1d018cd301943433e6a1dff33 (diff) | |
| parent | b71ef42e94fb122b4321d4c8fae7b7c41cbd65b3 (diff) | |
| download | cpython-f701975a05ebda1c87ee2d078d2917676dc0de8b.tar.gz | |
merge 3.5
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; |
