summaryrefslogtreecommitdiff
path: root/source/luametatex/source/mp/mpc/mpmath.c
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2022-11-14 23:18:10 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2022-11-14 23:18:10 +0100
commit08473f11287cb263079c0435068312cbc6d736e8 (patch)
tree2548fb8b58e18a507e54fa8426a79c6956c3ef2e /source/luametatex/source/mp/mpc/mpmath.c
parentdd0a80e5ec42f60832e7d5dc47210e6f3545c400 (diff)
downloadcontext-08473f11287cb263079c0435068312cbc6d736e8.tar.gz
2022-11-14 22:56:00
Diffstat (limited to 'source/luametatex/source/mp/mpc/mpmath.c')
-rw-r--r--source/luametatex/source/mp/mpc/mpmath.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/luametatex/source/mp/mpc/mpmath.c b/source/luametatex/source/mp/mpc/mpmath.c
index 42a596dac..0a848b23e 100644
--- a/source/luametatex/source/mp/mpc/mpmath.c
+++ b/source/luametatex/source/mp/mpc/mpmath.c
@@ -585,9 +585,9 @@ int mp_number_nonequalabs(mp_number *A, mp_number *B)
static char *mp_string_scaled (MP mp, int s)
{
- (void) mp;
static char scaled_string[32];
int i = 0;
+ (void) mp;
if (s < 0) {
scaled_string[i++] = '-';
s = -s;